-
Notifications
You must be signed in to change notification settings - Fork 965
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 support #4443
Conversation
jiefenghuang
commented
Mar 4, 2024
- add interface GetFacl and SetFacl
- implement ACL support for three engines: TKV, Redis, and SQL.
- sync mode and acl
- add new acl
- inherit from default acl
- vfs interface support
Signed-off-by: jiefeng <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4443 +/- ##
==========================================
- Coverage 56.00% 55.32% -0.69%
==========================================
Files 156 157 +1
Lines 40417 42058 +1641
==========================================
+ Hits 22636 23269 +633
- Misses 15262 16188 +926
- Partials 2519 2601 +82 ☔ View full report in Codecov by Sentry. |
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
670d2a9
to
20bad48
Compare
Signed-off-by: jiefeng <[email protected]>
pkg/meta/redis.go
Outdated
@@ -605,6 +635,10 @@ func (m *redisMeta) totalInodesKey() string { | |||
return m.prefix + totalInodes | |||
} | |||
|
|||
func (m *redisMeta) aclKey(id uint32) string { |
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.
It's better to have all these in single HashMap
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.
done
Signed-off-by: jiefeng <[email protected]>
2dc3e62
to
706955f
Compare
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
@jiefenghuang |
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>
Signed-off-by: jiefeng <[email protected]>