Skip to content

fix(files): Check read permission before showing PDF edit action#5501

Open
nfebe wants to merge 1 commit intomainfrom
fix/file-action-permission-check
Open

fix(files): Check read permission before showing PDF edit action#5501
nfebe wants to merge 1 commit intomainfrom
fix/file-action-permission-check

Conversation

@nfebe
Copy link

@nfebe nfebe commented Mar 19, 2026

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.

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>
@nfebe nfebe requested review from skjnldsv and susnux March 19, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants