mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
Merge pull request #3493 from jumpserver/pr@dev@account_change_push
fix: 改密 推送 详情里执行任务的权限不对
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexection') || !this.object.is_active
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexecution') || !this.object.is_active
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
|
||||
@@ -35,7 +35,7 @@ export default {
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('accounts.AccountChangeSecret.Execute'),
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexection') || !this.object.is_active
|
||||
disabled: !this.$hasPerm('accounts.add_changesecretexecution') || !this.object.is_active
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
|
||||
Reference in New Issue
Block a user