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

[stable12] Fix transfering ownership of a share to user with same id as receiver #10566

Conversation

danxuliu
Copy link
Member

@danxuliu danxuliu commented Aug 7, 2018

Backport of #10348

When the ownership of a user share is transfered to the receiver the
share is removed, as the receiver now owns the original file. However,
due to a missing condition, any share with a group, link or remote with
the same id as the user was removed, not only the user shares.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added bug 3. to review Waiting for reviews labels Aug 7, 2018
@danxuliu danxuliu added this to the Nextcloud 12.0.11 milestone Aug 7, 2018
@danxuliu danxuliu requested a review from rullzer August 7, 2018 07:54
@MorrisJobke MorrisJobke merged commit da6cacb into stable12 Aug 20, 2018
@MorrisJobke MorrisJobke deleted the stable12-10348-fix-transfering-ownership-of-a-share-to-user-with-same-id-as-receiver branch August 20, 2018 12:53
@MorrisJobke MorrisJobke mentioned this pull request Aug 22, 2018
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.

None yet

3 participants