Skip to content

Commit

Permalink
perf: checkaccountautomation perm
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 committed Jan 20, 2025
1 parent 14c3b24 commit 8cd638e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/views/pam/RiskDetect/AccountCheckTaskList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
6 changes: 3 additions & 3 deletions src/views/pam/RiskDetect/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
]
Expand Down

0 comments on commit 8cd638e

Please sign in to comment.