-
-
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
allow editing single files shared as public link #3231
Conversation
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
@schiessle, thanks for your PR! By analyzing the history of the files in this pull request, we identified @blizzz, @rullzer and @icewind1991 to be potential reviewers. |
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.
works
@@ -668,6 +668,7 @@ public function updateShare( | |||
\OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_CREATE | \OCP\Constants::PERMISSION_UPDATE, // legacy | |||
\OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_CREATE | \OCP\Constants::PERMISSION_UPDATE | \OCP\Constants::PERMISSION_DELETE, // correct | |||
\OCP\Constants::PERMISSION_CREATE, // hidden file list | |||
\OCP\Constants::PERMISSION_READ | \OCP\Constants::PERMISSION_UPDATE, // allow to edit single files |
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.
I remember something with "update is delete+create on dav".
So this needs to be tested with the problematic app before merging....
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.
Seems that the this is not the case for Collabora, @LukasReschke can you test it? Thanks!
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.
Collabora doesn't go via DAV but the nodes API directly. So it works.
Just to be sure I shall try to smash this |
Smashbox passed ✅ |
allow editing single files shared as public link
cc @blizzz