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: 'http://localhost:3000'
wait-on-timeout: 900 wait-on-timeout: 900
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

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

@ -45,7 +45,7 @@
<v-btn small @click="$emit('cancel')"> <v-btn small @click="$emit('cancel')">
Cancel Cancel
</v-btn> </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 Save Row
</v-btn> </v-btn>
</div> </div>

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

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

Loading…
Cancel
Save