mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-20 02:31:43 +00:00
fix: 修复更新资产账号权限控制
This commit is contained in:
committed by
Jiangjie.Bai
parent
a51edf359b
commit
d52c624128
@@ -139,7 +139,7 @@ export default {
|
|||||||
{
|
{
|
||||||
name: 'Update',
|
name: 'Update',
|
||||||
title: this.$t('common.Update'),
|
title: this.$t('common.Update'),
|
||||||
can: this.$hasPerm('assets.change_authbook') && !this.$store.getters.currentOrgIsRoot,
|
can: this.$hasPerm('assets.change_assetaccountsecret') && !this.$store.getters.currentOrgIsRoot,
|
||||||
callback: ({ row }) => {
|
callback: ({ row }) => {
|
||||||
vm.account = row
|
vm.account = row
|
||||||
vm.showUpdateSecretDialog = false
|
vm.showUpdateSecretDialog = false
|
||||||
|
Reference in New Issue
Block a user