-
Notifications
You must be signed in to change notification settings - Fork 997
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
feat/acl: add acl rule and cache #4437
Conversation
Signed-off-by: jiefeng <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
c37cf6f
to
05f2bfd
Compare
…l rule Signed-off-by: jiefeng <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4437 +/- ##
==========================================
- Coverage 56.02% 55.99% -0.04%
==========================================
Files 154 156 +2
Lines 40134 40417 +283
==========================================
+ Hits 22487 22630 +143
- Misses 15129 15266 +137
- Partials 2518 2521 +3 ☔ View full report in Codecov by Sentry. |
return ((r.Owner & 7) << 6) | ((r.Mask & 7) << 3) | (r.Other & 7) | ||
} | ||
|
||
func (r *Rule) ChildAccessACL(mode uint16) *Rule { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add doc for these public API
Signed-off-by: jiefeng <[email protected]>
"github.com/juicedata/juicefs/pkg/utils" | ||
) | ||
|
||
const Version uint8 = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is it used?
#4409
add acl rule and acl cache which will cache all acl rules