mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 17:54:37 +00:00
fix: 修复更新资产账号权限控制
This commit is contained in:
committed by
Jiangjie.Bai
parent
a51edf359b
commit
d52c624128
@@ -139,7 +139,7 @@ export default {
|
||||
{
|
||||
name: '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 }) => {
|
||||
vm.account = row
|
||||
vm.showUpdateSecretDialog = false
|
||||
|
Reference in New Issue
Block a user