Browse Source

fix(gui): allow editor user to save/update from form

re #532

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/560/head
Pranav C 3 years ago
parent
commit
ca8ac544ac
  1. 3
      .github/workflows/ci-cd.yml
  2. 2
      packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue
  3. 3
      packages/nc-gui/helpers/rolePermissionsEE.js

3
.github/workflows/ci-cd.yml

@ -28,10 +28,7 @@ jobs:
wait-on: 'http://localhost:3000'
wait-on-timeout: 900
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:

2
packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue

@ -45,7 +45,7 @@
<v-btn small @click="$emit('cancel')">
Cancel
</v-btn>
<v-btn :disabled="!_isUIAllowed('table-row-update')" small color="primary" @click="save">
<v-btn :disabled="!_isUIAllowed('tableRowUpdate')" small color="primary" @click="save">
Save Row
</v-btn>
</div>

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

@ -6,7 +6,8 @@ export default {
airTable: true,
xcDatatableEditable: true,
column: true,
tableAttachment: true
tableAttachment: true,
tableRowUpdate: true
},
commenter: {
airTable: true,

Loading…
Cancel
Save