Browse Source

fix: 屏蔽不需要的权限位

pull/9551/head
Aaron3S 2 years ago committed by Jiangjie.Bai
parent
commit
44d3f88225
  1. 2
      apps/rbac/const.py

2
apps/rbac/const.py

@ -75,7 +75,7 @@ exclude_permissions = (
('ops', 'adhocexecution', 'add,delete,change', '*'), ('ops', 'adhocexecution', 'add,delete,change', '*'),
('ops', 'jobexecution', 'change,delete', 'jobexecution'), ('ops', 'jobexecution', 'change,delete', 'jobexecution'),
('ops', 'historicaljob', '*', '*'), ('ops', 'historicaljob', '*', '*'),
('ops', 'celerytask', 'add,change', 'celerytask'), ('ops', 'celerytask', 'add,change,delete', 'celerytask'),
('ops', 'celerytaskexecution', 'add,change,delete', 'celerytaskexecution'), ('ops', 'celerytaskexecution', 'add,change,delete', 'celerytaskexecution'),
('orgs', 'organizationmember', '*', '*'), ('orgs', 'organizationmember', '*', '*'),
('settings', 'setting', 'add,change,delete', 'setting'), ('settings', 'setting', 'add,change,delete', 'setting'),

Loading…
Cancel
Save