Browse Source

fix: add missing projectSettings permission (#2548)

* fix: add missing projectSettings permission
pull/2568/head
աɨռɢӄաօռɢ 3 years ago committed by GitHub
parent
commit
978fdd265e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/components/ProjectTabs.vue
  2. 12
      packages/nc-gui/helpers/rolePermissionsEE.js

2
packages/nc-gui/components/ProjectTabs.vue

@ -207,7 +207,7 @@
style="height: 100%"
>
<project-settings
v-if="_isUIAllowed('settings')"
v-if="_isUIAllowed('projectSettings')"
class="backgroundColor"
:nodes="tab._nodes"
style="height: 100%"

12
packages/nc-gui/helpers/rolePermissionsEE.js

@ -15,20 +15,24 @@ export default {
gridColUpdate: true,
filterSync: true,
csvImport: true,
apiDocs: true
apiDocs: true,
projectSettings: true
},
commenter: {
smartSheet: true,
column: true,
rowComments: true
rowComments: true,
projectSettings: true
},
viewer: {
smartSheet: true,
column: true
column: true,
projectSettings: true
},
user: {
projectCreate: true,
projectActions: true
projectActions: true,
projectSettings: true
}
}
/**

Loading…
Cancel
Save