Skip to content

[stable32] fix(files): Check read permission before showing PDF edit action#5563

Merged
elzody merged 1 commit intostable32from
backport/5501/stable32
Apr 29, 2026
Merged

[stable32] fix(files): Check read permission before showing PDF edit action#5563
elzody merged 1 commit intostable32from
backport/5501/stable32

Conversation

@elzody
Copy link
Copy Markdown
Collaborator

@elzody elzody commented Apr 13, 2026

Manual back-port of #5501 to stable32

@elzody elzody self-assigned this Apr 13, 2026
@elzody elzody added the 3. to review Ready to be reviewed label Apr 13, 2026
@elzody elzody requested a review from juliusknorr as a code owner April 13, 2026 20:57
The "Edit with Collabora" file action was displayed for files the user
lacks permission to access. Added a Permission.READ check in the
enabled callback, consistent with how core Nextcloud file actions
gate on node permissions.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@elzody elzody force-pushed the backport/5501/stable32 branch from d6cf422 to 0c82ae1 Compare April 29, 2026 19:46
@elzody
Copy link
Copy Markdown
Collaborator Author

elzody commented Apr 29, 2026

Force-merging as the PR was already accepted before; this is a manual backport that was already tested. I had to edit it to be compatible with 32.

@elzody elzody merged commit 487813e into stable32 Apr 29, 2026
49 checks passed
@elzody elzody deleted the backport/5501/stable32 branch April 29, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants