diff --git a/frontend/package.json b/frontend/package.json index aa71a7ebd8..cba23d34a8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -52,7 +52,7 @@ "vue-float-action-button": "^0.6.6", "vue-i18n": "^8.15.3", "vue-jsonpath-picker": "^1.1.5", - "vue-minder-editor-plus": "^1.0.25", + "vue-minder-editor-plus": "^1.0.26", "vue-papa-parse": "^2.0.0", "vue-pdf": "^4.2.0", "vue-router": "^3.1.3", diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue index e53456519a..79ac23a62c 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue @@ -8,6 +8,9 @@ :tree-nodes="data" :allLabel="$t('commons.all_module_title')" :type="isReadOnly ? 'view' : 'edit'" + :delete-permission="['PROJECT_API_SCENARIO:READ+DELETE']" + :add-permission="['PROJECT_API_SCENARIO:READ+CREATE']" + :update-permission="['PROJECT_API_SCENARIO:READ+EDIT']" @add="add" @edit="edit" @drag="drag" diff --git a/frontend/src/business/components/api/definition/components/module/ApiModule.vue b/frontend/src/business/components/api/definition/components/module/ApiModule.vue index a8865165af..56d2c47180 100644 --- a/frontend/src/business/components/api/definition/components/module/ApiModule.vue +++ b/frontend/src/business/components/api/definition/components/module/ApiModule.vue @@ -13,6 +13,9 @@ @drag="drag" @remove="remove" @refresh="list" + :delete-permission="['PROJECT_API_DEFINITION:READ+DELETE_API']" + :add-permission="['PROJECT_API_DEFINITION:READ+CREATE_API']" + :update-permission="['PROJECT_API_DEFINITION:READ+EDIT_API']" @nodeSelectEvent="nodeChange" ref="nodeTree"> diff --git a/frontend/src/business/components/common/components/MsModuleMinder.vue b/frontend/src/business/components/common/components/MsModuleMinder.vue index 79b7c63264..70190beb1a 100644 --- a/frontend/src/business/components/common/components/MsModuleMinder.vue +++ b/frontend/src/business/components/common/components/MsModuleMinder.vue @@ -14,6 +14,7 @@ :default-mold="defaultMode" @afterMount="$emit('afterMount')" @moldChange="handleMoldChange" + :disabled="disabled" @save="save" /> @@ -63,7 +64,8 @@ export default { }, tagDisableCheck: Function, tagEditCheck: Function, - priorityDisableCheck: Function + priorityDisableCheck: Function, + disabled: Boolean }, data() { return { diff --git a/frontend/src/business/components/common/components/MsTableButton.vue b/frontend/src/business/components/common/components/MsTableButton.vue index a4129e7422..624e423d2b 100644 --- a/frontend/src/business/components/common/components/MsTableButton.vue +++ b/frontend/src/business/components/common/components/MsTableButton.vue @@ -7,11 +7,6 @@