Skip to content

[stable33] fix(files_sharing): keep matching bundles for shares carrying the federation SHARE permission - #64400

Open
backportbot[bot] wants to merge 1 commit into
stable33from
backport/64376/stable33
Open

backportbot[bot] wants to merge 1 commit into
stable33from
backport/64376/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 15, 2026

Copy link
Copy Markdown

@backportbot
backportbot Bot requested a review from a team as a code owner September 15, 2026 21:49
@backportbot
backportbot Bot requested review from skjnldsv and susnux September 15, 2026 21:49
@backportbot backportbot Bot added bug 3. to review Waiting for reviews labels Sep 15, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.10 milestone Sep 15, 2026
…eration SHARE permission

Link and email shares get the SHARE permission added by the server whenever
`shareapi_allow_federation_on_public_shares` is enabled, which is the default.
Comparing their raw permissions against the bundles therefore classified every
public share as "Custom permissions" instead of the bundle it was created with.

Match against the bundles through a helper that ignores that permission for
public shares, while keeping the `exclude_reshare_from_edit` aware comparison
for internal shares.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbot
backportbot Bot force-pushed the backport/64376/stable33 branch from a8c0e34 to 1ee6d5a Compare September 15, 2026 21:49
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.

1 participant