-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix sharing tab state not matching resharing admin settings #24042
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 sharing tab state not matching resharing admin settings #24042
Conversation
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
|
/backport to stable20 |
|
/backport to stable19 |
|
/backport to stable18 |
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
53022bc to
92770ed
Compare
|
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 35351: failureintegration-sharing-v1
Show full log |
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
92770ed to
ee852d7
Compare
rullzer
left a comment
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 to do the trick. but we should move a lot of those config stuff to the capabilities I think.
But in a future PR of course |
This fixes a regression introduced probably in Nextcloud 18 when the Sharing tab was moved to Vue (as it worked in Nextcloud 17).
When resharing was disabled in admin settings the menu of a share showed the option to enable or disable resharing for that share, and the share input to search users, groups... to share a file was enabled also for received shares. As resharing was disabled using the menu or the input caused an error.
Besides that I have also added integration tests to check the default share permissions. I thought that there was an issue with the default share permissions, but after checking again I can no longer reproduce 🤷 But as I had already written the tests... I thought that it would be good to add them anyway :-)
It seems that I messed building the JavaScript files... I will change to To review after fixing it.