fix: 组织管理员不能创建用户 (#11856)

Co-authored-by: feng <1304903146@qq.com>
pull/11857/head
fit2bot 2023-10-16 15:06:47 +08:00 committed by GitHub
parent 70661242c1
commit 86e8f3a80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -79,7 +79,6 @@ exclude_permissions = (
('rbac', 'systemrolebinding', 'change', 'systemrolebinding'),
('rbac', 'orgrolebinding', 'change', 'orgrolebinding'),
('rbac', 'menupermission', '*', 'menupermission'),
('rbac', 'role', '*', '*'),
('ops', 'adhocexecution', 'view,add,delete,change', '*'),
('ops', 'jobexecution', 'change,delete', 'jobexecution'),
('ops', 'historicaljob', '*', '*'),
@ -132,7 +131,7 @@ only_system_permissions = (
('rbac', 'systemrole', '*', '*'),
('rbac', 'rolebinding', '*', '*'),
('rbac', 'systemrolebinding', '*', '*'),
('rbac', 'orgrole', 'delete,add,change', '*'),
('rbac', 'orgrole', 'delete,add,change', 'orgrole'),
('orgs', 'organization', '*', '*'),
('xpack', 'license', '*', '*'),
('settings', 'setting', '*', '*'),