Skip to content

Commit

Permalink
fix: Apply lock switch also to read permission
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed May 10, 2024
1 parent a94c659 commit 3f8a37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
mime: 'file',
order: -139,
iconClass: 'icon-password',
permissions: OC.PERMISSION_UPDATE,
permissions: OC.PERMISSION_READ,
actionHandler: self.switchLock
})
fileList.fileActions.registerAction({
Expand Down

0 comments on commit 3f8a37b

Please sign in to comment.