* perf: 修改 rbac role bingding

* fix: suggestion perm

* perf: 修改 requirements

* perf: 修改 rbac

* fix: auditor_perms

Co-authored-by: feng626 <1304903146@qq.com>
This commit is contained in:
老广
2022-03-04 10:16:21 +08:00
committed by GitHub
parent 390b8693df
commit 3f9f9351f3
12 changed files with 85 additions and 13 deletions

View File

@@ -20,6 +20,7 @@ exclude_permissions = (
('admin', '*', '*', '*'),
('sessions', '*', '*', '*'),
('notifications', '*', '*', '*'),
('common', 'setting', '*', '*'),
('applications', 'applicationuser', '*', '*'),
('applications', 'historicalaccount', '*', '*'),
@@ -42,6 +43,8 @@ exclude_permissions = (
('perms', 'rebuildusertreetask', '*', '*'),
('rbac', 'contenttype', '*', '*'),
('rbac', 'permission', 'add,delete,change', 'permission'),
('rbac', 'rolebingding', '*', '*'),
('rbac', 'role', '*', '*'),
('ops', 'adhoc', '*', '*'),
('ops', 'adhocexecution', '*', '*'),
('ops', 'celerytask', '*', '*'),
@@ -74,6 +77,7 @@ only_system_permissions = (
('orgs', 'organization', '*', '*'),
('xpack', 'license', '*', '*'),
('settings', 'setting', '*', '*'),
('terminal', 'terminal', '*', '*'),
)
only_org_permissions = (