Browse Source

fix: add missing projectSettings permission (#2548)

* fix: add missing projectSettings permission
pull/2568/head
աɨռɢӄաօռɢ 2 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%" style="height: 100%"
> >
<project-settings <project-settings
v-if="_isUIAllowed('settings')" v-if="_isUIAllowed('projectSettings')"
class="backgroundColor" class="backgroundColor"
:nodes="tab._nodes" :nodes="tab._nodes"
style="height: 100%" style="height: 100%"

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

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

Loading…
Cancel
Save