diff --git a/backend/src/main/resources/permission.json b/backend/src/main/resources/permission.json index ac031f9b61..a51db7f61f 100644 --- a/backend/src/main/resources/permission.json +++ b/backend/src/main/resources/permission.json @@ -810,7 +810,7 @@ "resourceId": "SYSTEM_PLUGIN" }, { - "id": "SYSTEM_PLUGIN:VIEW", + "id": "SYSTEM_PLUGIN:READ", "name": "查看脚本", "resourceId": "SYSTEM_PLUGIN" } diff --git a/frontend/src/business/components/settings/plugin/PluginConfig.vue b/frontend/src/business/components/settings/plugin/PluginConfig.vue index 5d905d26f5..d24dc9cfc6 100644 --- a/frontend/src/business/components/settings/plugin/PluginConfig.vue +++ b/frontend/src/business/components/settings/plugin/PluginConfig.vue @@ -50,7 +50,7 @@ + @exec="handleView(scope.row)" v-permission="['SYSTEM_PLUGIN:READ']"/> diff --git a/frontend/src/business/components/settings/router.js b/frontend/src/business/components/settings/router.js index da66f4e489..7998457e2e 100644 --- a/frontend/src/business/components/settings/router.js +++ b/frontend/src/business/components/settings/router.js @@ -110,7 +110,7 @@ export default { { path: 'plugin', component: () => import('@/business/components/settings/plugin/PluginConfig'), - meta: {system: true, title: 'plugin.title', permissions: ['SYSTEM_USER:READ']} + meta: {system: true, title: 'plugin.title', permissions: ['SYSTEM_PLUGIN:READ']} }, ] };