Skip to content
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): Disable tags editing for shared files/folders with view only permission #47149

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

AndyScherzinger
Copy link
Member

@AndyScherzinger AndyScherzinger commented Aug 9, 2024

Replicating #46663 to run all actions


How to reproduce

  1. Create file/folder and assign some tags to it
  2. Share it with another user "user" with view only permission
  3. Open it by "user"

Expected result: user not able remove/add tags
Actual result: user able remove/add tags on UI (we have http 403 on the server side, but UI allows this actions)

🔍 Folder details for admin

image

🔍 Folder details for user

image

Checklist

…nly permission

Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
@AndyScherzinger AndyScherzinger added bug 3. to review Waiting for reviews labels Aug 9, 2024
@AndyScherzinger AndyScherzinger added this to the Nextcloud 30 milestone Aug 9, 2024
@AndyScherzinger
Copy link
Member Author

/compile /

@AndyScherzinger
Copy link
Member Author

AndyScherzinger commented Aug 9, 2024

Originally reviewed and approved by @susnux and @Pytal

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish feature: files and removed 3. to review Waiting for reviews labels Aug 9, 2024
@skjnldsv skjnldsv enabled auto-merge August 9, 2024 11:46
@skjnldsv skjnldsv disabled auto-merge August 9, 2024 11:52
@skjnldsv skjnldsv merged commit 81b01c2 into master Aug 9, 2024
109 of 111 checks passed
@skjnldsv skjnldsv deleted the fix/disable-tags-editing branch August 9, 2024 11:52
@AndyScherzinger
Copy link
Member Author

@Koc Merged! Thanks for the fix! 🎉

@skjnldsv skjnldsv mentioned this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants