mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-20 18:49:19 +00:00
Merge pull request #3189 from jumpserver/pr@dev@usergroup
perf: 修改用户组添加全部用户api的权限位
This commit is contained in:
@@ -42,7 +42,7 @@ export default {
|
|||||||
attrs: {
|
attrs: {
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
label: this.$tc('common.Add'),
|
label: this.$tc('common.Add'),
|
||||||
disabled: !this.$hasPerm('users.change_usergroup')
|
disabled: !this.$hasPerm('users.add_usergroup')
|
||||||
},
|
},
|
||||||
callbacks: Object.freeze({
|
callbacks: Object.freeze({
|
||||||
click: () => {
|
click: () => {
|
||||||
|
Reference in New Issue
Block a user