mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-16 22:07:21 +00:00
Merge pull request #2686 from jumpserver/pr@dev@fix_account_backup_execution_button_perm
fix: 修复执行账号备份按钮权限问题
This commit is contained in:
commit
4f7f8e8315
@ -81,6 +81,7 @@ export default {
|
|||||||
title: vm.$t('xpack.Execute'),
|
title: vm.$t('xpack.Execute'),
|
||||||
name: 'execute',
|
name: 'execute',
|
||||||
type: 'info',
|
type: 'info',
|
||||||
|
can: this.$hasPerm('accounts.view_accountbackupexecution'),
|
||||||
callback: function({ row }) {
|
callback: function({ row }) {
|
||||||
this.$axios.post(
|
this.$axios.post(
|
||||||
`/api/v1/accounts/account-backup-plan-executions/`,
|
`/api/v1/accounts/account-backup-plan-executions/`,
|
||||||
|
Loading…
Reference in New Issue
Block a user