-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix(files_sharing): Respect permissions passed when creating link shares #50270
base: master
Are you sure you want to change the base?
Conversation
/backport to stable30 |
: Constants::PERMISSION_READ; | ||
} | ||
|
||
// TODO: It might make sense to have a dedicated setting to allow/deny converting link shares into federated ones |
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.
// TODO: It might make sense to have a dedicated setting to allow/deny converting link shares into federated ones |
This is a feature request and should not be in the code in my opinion.
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.
Its not from me but just moved, see in "delete" side of the GIT diff line 721.
aa86d75
to
ad555f6
Compare
Given: User creates a link or email share with permissions=4 (create only = file drop). Problem: Currently the permissions are automatically extended to permissions = 5 (READ + CREATE). Work around was to create the share and directly update it. Solution: Respect what the user is requesting, create a file drop share. Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
ad555f6
to
2914318
Compare
Summary
Given:
Problem:
Solution:
Checklist