Skip to content

Allow removing federated shares of locally reshared files - #17387

Merged
rullzer merged 1 commit into
masterfrom
fix/remove/federated_share
Oct 5, 2019
Merged

Allow removing federated shares of locally reshared files#17387
rullzer merged 1 commit into
masterfrom
fix/remove/federated_share

Conversation

@rullzer

Copy link
Copy Markdown
Member
  • UserA shares a folder to UserB
  • UserB does a federated share to userC@serverC
  • UserB now tries to revoke the federated share

Before we always tried to notify the remote cloud. The case that the
file was reshared locally was not considered. This patch makes sure not
to try to notify a federated server if both users are local users.

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

* UserA shares a folder to UserB
* UserB does a federated share to userC@serverC
* UserB now tries to revoke the federated share
Before we always tried to notify the remote cloud. The case that the
file was reshared locally was not considered. This patch makes sure not
to try to notify a federated server if both users are local users.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 3, 2019
@rullzer
rullzer merged commit 637c50e into masterOct 5, 2019
@rullzer
rullzer deleted the fix/remove/federated_share branch October 5, 2019 13:18
@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable17

@rullzer

Copy link
Copy Markdown
MemberAuthor

/backport to stable16

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable17 in #17418

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable16 in #17419

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: federationfeature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@ChristophWurst@skjnldsv