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

[Bug]: reshares: UI indicates owner can add permissions to a reshare -> shows error #48450

Open
4 tasks done
grnd-alt opened this issue Sep 30, 2024 · 0 comments
Open
4 tasks done
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 31-feedback bug

Comments

@grnd-alt
Copy link
Member

grnd-alt commented Sep 30, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

When a user that does not have all permissions reshares a file/folder shared to him, the owner can't add any permissions to the third user that the second user does not have (by design). Though it looks in the UI as if it is possible to add those permissions it is not greyed out. Only when you try to safe it shows an error.

Edit can be selected for share to User3

image

Error is displayed when updating the share

image

Steps to reproduce

  1. User1 shares to User2 without edit permission
  2. User2 shares to User3 without edit permission
  3. User1 sees share to User3 and it seems as if User1 could add permissions to the share that User 2 does not have.

Expected behavior

User1 sees Edit permission greyed out, or is able to give User3 edit permission.

Side note

The re-share functionality also has some other weird edge cases still. e.g. in the scenario above. If User2 gets a permission removed the user who received a reshare keeps the permission.

Nextcloud Server version

master

@grnd-alt grnd-alt added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 31-feedback bug
Projects
None yet
Development

No branches or pull requests

2 participants