Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Jun 24, 2020

⚠️ This backport had conflicts and is incomplete ⚠️ (Conflicts happened only in the compiled files of last commit)

backport of #21379

@danxuliu
Copy link
Member

/compile amend /

A sharee can reshare a file and set the edit, create, delete and share
permissions of the reshare only if the received share has edit, create,
delete and share permissions, or if they were revoked in the received
share after being set in the reshare. Therefore, the permission
checkboxes in the share menu should be enabled only if the user can set
them (otherwise trying to check them will lead to an error).

Note that "sharePermissions" has all the permissions if the file is not
a reshare but a file owned by the user.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@npmbuildbot-nextcloud npmbuildbot-nextcloud bot force-pushed the backport/21379/stable19 branch from 9526ab6 to 87be931 Compare June 29, 2020 20:16
@rullzer rullzer added the 3. to review Waiting for reviews label Jun 30, 2020
@rullzer rullzer mentioned this pull request Jul 6, 2020
3 tasks
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good 👍

@MorrisJobke MorrisJobke merged commit 62f71a0 into stable19 Jul 6, 2020
@MorrisJobke MorrisJobke deleted the backport/21379/stable19 branch July 6, 2020 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants