perf: checkaccountautomation perm

This commit is contained in:
feng
2025-01-20 16:36:41 +08:00
committed by feng626
parent 58bb69c252
commit 90050bf87d
2 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ import { GenericListTable } from '@/layout/components'
import AmountFormatter from '@/components/Table/TableFormatters/AmountFormatter.vue'
export default {
name: 'AccountPushList',
name: 'AccountCheckTaskList',
components: {
GenericListTable
},

View File

@@ -24,19 +24,19 @@ export default {
{
title: this.$t('DetectTasks'),
name: 'AccountCheckTask',
hidden: !this.$hasPerm('accounts.view_accountcheckautomation'),
hidden: !this.$hasPerm('accounts.view_checkaccountautomation'),
component: () => import('./AccountCheckTaskList.vue')
},
{
title: this.$t('Executions'),
name: 'AccountCheckExecution',
hidden: !this.$hasPerm('accounts.view_accountcheckautomation'),
hidden: !this.$hasPerm('accounts.view_checkaccountautomation'),
component: () => import('./AccountCheckExecutionList.vue')
},
{
title: this.$t('DetectEngines'),
name: 'AccountCheckEngine',
hidden: !this.$hasPerm('accounts.view_accountcheckautomation'),
hidden: !this.$hasPerm('accounts.view_checkaccountautomation'),
component: () => import('@/views/pam/RiskDetect/AccountCheckEngine.vue')
}
]