Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The algorithm resolving ACE to Role flips between Contributor and Writer roles #2

Open
hurngchunlee opened this issue Oct 31, 2022 · 0 comments

Comments

@hurngchunlee
Copy link
Contributor

https://github.com/Donders-Institute/tg-toolset-golang/blob/cfa55fd7953e431d7f4dc65bc1ca467c53382ee3/project/pkg/acl/nfs4.go#L116

For example, the permission (rwadxtTnNcy) might be resolved as

  • Contributor (w/ permission rwaDdxnNtTcy) because the len(XOR) between the two permissions is 1
  • Writer (w/ permission rwaxnNtTcy) because the len(XOR) between the two permissions is also 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant