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

Fix email share transfer accross storages #48597

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Oct 7, 2024

Summary

Follow-up of #44904 to fix email shares.

Checklist

Makes debbuging way easier

Signed-off-by: Côme Chilliet <[email protected]>
This fixes transfering an email share from a user to another one when using
 objectstore as primary storage.

Signed-off-by: Côme Chilliet <[email protected]>
@come-nc come-nc added the 3. to review Waiting for reviews label Oct 7, 2024
@come-nc come-nc added this to the Nextcloud 31 milestone Oct 7, 2024
@come-nc come-nc requested a review from susnux October 7, 2024 13:39
@come-nc come-nc self-assigned this Oct 7, 2024
@come-nc
Copy link
Contributor Author

come-nc commented Oct 7, 2024

/backport to stable30

@come-nc
Copy link
Contributor Author

come-nc commented Oct 7, 2024

/backport to stable29

@come-nc
Copy link
Contributor Author

come-nc commented Oct 7, 2024

/backport to stable28

@susnux susnux requested review from a team, icewind1991, Altahrim and provokateurin and removed request for a team October 7, 2024 19:06
@@ -739,11 +739,14 @@ public function update(IShare $share, ?string $plainTextPassword = null): IShare
$shareAttributes = $this->formatShareAttributes($share->getAttributes());

/*
* We allow updating the permissions and password of mail shares
* We allow updating mail shares
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO Things like this should not be checked in "mappers" but only in the controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants