mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
perf: add change labeled resource perm
This commit is contained in:
parent
918b6dbe8e
commit
4eefb448ed
@ -74,7 +74,7 @@ export default {
|
||||
this.bindVisible = true
|
||||
},
|
||||
can: () => {
|
||||
return !this.currentOrgIsRoot
|
||||
return !this.currentOrgIsRoot && this.$hasPerm('labels.change_labeledresource')
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user