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

Merged
merged 3 commits into from
Oct 8, 2024

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 <come.chilliet@nextcloud.com>
This fixes transfering an email share from a user to another one when using
 objectstore as primary storage.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@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.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc merged commit 05886d2 into master Oct 8, 2024
177 checks passed
@come-nc come-nc deleted the fix/fix-email-share-transfer-accross-storages branch October 8, 2024 15:31
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants