Merge pull request #3189 from jumpserver/pr@dev@usergroup

perf: 修改用户组添加全部用户api的权限位
This commit is contained in:
feng626
2023-06-12 18:16:26 +08:00
committed by GitHub

View File

@@ -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: () => {