-
Notifications
You must be signed in to change notification settings - Fork 159
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(BA-532): Add configurable directory permission for vfolders #3510
base: topic/12-20-feat_enable_per-user_uid_gid_set_for_containers
Are you sure you want to change the base?
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
97bf1d8
to
08c0f58
Compare
ab70964
to
2886177
Compare
@@ -350,6 +353,7 @@ class Params(TypedDict): | |||
{ | |||
t.Key("volume"): t.String(), | |||
t.Key("vfid"): tx.VFolderID(), | |||
t.Key("mode", default=None): t.Null | t.Int, |
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.
Is it not possible to set the value of DEFAULT_VFOLDER_PERMISSION_MODE
as a default argument?
case _: | ||
raise GroupNotFound(extra_data=group_id_or_name) | ||
|
||
vfolder_permission_mode = 0o775 if container_uid is not None else None |
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.
Is it not possible to use the value of DEFAULT_VFOLDER_PERMISSION_MODE
here as well?
resolves #3481 (BA-532)
Checklist: (if applicable)
📚 Documentation preview 📚: https://sorna--3510.org.readthedocs.build/en/3510/
📚 Documentation preview 📚: https://sorna-ko--3510.org.readthedocs.build/ko/3510/