Skip to content

Commit

Permalink
fix(design): show edit column actions if shared as table manager
Browse files Browse the repository at this point in the history
- wrong identifier to ask for permissions

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
  • Loading branch information
Florian Steffens committed Sep 14, 2023
1 parent 7a093d5 commit fcde6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/ncTable/mixins/permissionsMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
if (!element.isShared) {
return true
}
if ((element.isShared && element?.onSharePermissions?.manageTable) || element?.ownership === getCurrentUser().uid) {
if ((element.isShared && element?.onSharePermissions?.manage) || element?.ownership === getCurrentUser().uid) {
return true
}
return false
Expand Down

0 comments on commit fcde6c2

Please sign in to comment.