mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: checkaccountautomation perm
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
@@ -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')
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user