-
Notifications
You must be signed in to change notification settings - Fork 492
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
NAS-132041 / 25.04 / Allow setting ACL entries by user or group name #13965
Conversation
8faea66
to
9a7570e
Compare
2fac8ff
to
4d299d7
Compare
I won't request this change since solidifying standards for our new api style is still a WIP, but I'll just note that if we go with the currently proposed standard of having one module in api/v25_04_0 for every plugin, then we'll have to split |
I'd rather not do that unless it's required. These two plugins share lots of data structures. Putting ACL into fileystem.py is just going to overload that file with irrelevant information IMHO (since it already will have a lot of models). |
src/middlewared/middlewared/pytest/unit/plugins/test_acl_inherit.py
Outdated
Show resolved
Hide resolved
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.
Great!
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.
LGTM
55e5e1f
to
85d7e25
Compare
This commit converts filesystem ACL APIs to use new api_method as well as improving the filesystem.setacl API to allow setting ACL entries by name. This commit also removes several private APIs.
85d7e25
to
ca20c9e
Compare
This PR has been merged and conversations have been locked. |
This commit converts filesystem ACL APIs to use new api_method as well as improving the filesystem.setacl API to allow setting
ACL entries by user / group name. This commit also removes several private APIs.