Skip to content

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

Open
elzody wants to merge 1 commit intostable32from
backport/5501/stable32
Open

[stable32] fix(files): Check read permission before showing PDF edit action#5563
elzody wants to merge 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

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 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
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