From 8a61a39be3dea6cd61fdebc89198177b479f2200 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 1 Jul 2024 16:37:16 +0800 Subject: [PATCH] refactor: refine permissions of extension settings page (#6237) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind improvement /milestone 2.17.x #### What this PR does / why we need it: 优化插件扩展管理页面的 UI 权限,限制只有超级管理员才能访问。 #### Does this PR introduce a user-facing change? ```release-note None ``` --- .../modules/system/plugins/PluginList.vue | 21 +++++++++++-------- .../modules/system/plugins/module.ts | 1 + 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ui/console-src/modules/system/plugins/PluginList.vue b/ui/console-src/modules/system/plugins/PluginList.vue index 688a0fd5e..7c92693ac 100644 --- a/ui/console-src/modules/system/plugins/PluginList.vue +++ b/ui/console-src/modules/system/plugins/PluginList.vue @@ -162,15 +162,18 @@ onMounted(() => {