Merge pull request #2686 from jumpserver/pr@dev@fix_account_backup_execution_button_perm

fix: 修复执行账号备份按钮权限问题
This commit is contained in:
feng626 2023-02-17 16:23:02 +08:00 committed by GitHub
commit 4f7f8e8315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ export default {
title: vm.$t('xpack.Execute'),
name: 'execute',
type: 'info',
can: this.$hasPerm('accounts.view_accountbackupexecution'),
callback: function({ row }) {
this.$axios.post(
`/api/v1/accounts/account-backup-plan-executions/`,