mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 23:31:29 +00:00
perf: add change labeled resource perm
This commit is contained in:
@@ -74,7 +74,7 @@ export default {
|
||||
this.bindVisible = true
|
||||
},
|
||||
can: () => {
|
||||
return !this.currentOrgIsRoot
|
||||
return !this.currentOrgIsRoot && this.$hasPerm('labels.change_labeledresource')
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user