From 743187b4b356652a341b142cdd432c5cf48d49f5 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Wed, 11 Dec 2024 16:31:22 +0800 Subject: [PATCH] fix: risk check perms --- src/router/pam/security.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/router/pam/security.js b/src/router/pam/security.js index ad2ec3276..0cf7a9fc7 100644 --- a/src/router/pam/security.js +++ b/src/router/pam/security.js @@ -18,7 +18,8 @@ export default [ component: () => import('@/views/pam/RiskDetect/index.vue'), name: 'AccountCheckList', meta: { - title: i18n.t('RiskDetection') + title: i18n.t('RiskDetection'), + permissions: ['accounts.view_accountrisk'] } }, { @@ -27,7 +28,8 @@ export default [ name: 'AccountCheckCreateUpdate', hidden: true, meta: { - title: i18n.t('AccountCheckCreate') + title: i18n.t('AccountCheckCreate'), + permissions: ['accounts.view_accountrisk'] } } ]