perf: 去掉一些 perm

This commit is contained in:
ibuler 2022-03-08 17:21:53 +08:00 committed by Jiangjie.Bai
parent 9fd7fa9339
commit 4c31b5ec0f
3 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:323dbe9835bb3fd4b357d162536d8f38bbacf09c47eb1b68ce4e323a66a01f95 oid sha256:819f2eb404c90465d945987436e236488653e031c46e90fb23defae28ca57c19
size 102621 size 102615

View File

@ -6102,7 +6102,7 @@ msgstr "改密计划"
#: xpack/plugins/change_auth_plan/models/app.py:46 #: xpack/plugins/change_auth_plan/models/app.py:46
#: xpack/plugins/change_auth_plan/models/app.py:95 #: xpack/plugins/change_auth_plan/models/app.py:95
msgid "Application change auth plan" msgid "Application change auth plan"
msgstr "应用改密计划执行" msgstr "应用改密计划"
#: xpack/plugins/change_auth_plan/models/app.py:99 #: xpack/plugins/change_auth_plan/models/app.py:99
#: xpack/plugins/change_auth_plan/models/app.py:151 #: xpack/plugins/change_auth_plan/models/app.py:151

View File

@ -49,7 +49,7 @@ exclude_permissions = (
('rbac', 'rolebinding', '*', '*'), ('rbac', 'rolebinding', '*', '*'),
('rbac', 'role', '*', '*'), ('rbac', 'role', '*', '*'),
('ops', 'adhoc', '*', '*'), ('ops', 'adhoc', '*', '*'),
('ops', 'adhocexecution', '*', '*'), ('ops', 'adhocexecution', 'delete,change', '*'),
('ops', 'celerytask', '*', '*'), ('ops', 'celerytask', '*', '*'),
('ops', 'task', 'add,change', 'task'), ('ops', 'task', 'add,change', 'task'),
('ops', 'commandexecution', 'delete,change', 'commandexecution'), ('ops', 'commandexecution', 'delete,change', 'commandexecution'),
@ -57,13 +57,15 @@ exclude_permissions = (
('settings', 'setting', 'add,delete', 'setting'), ('settings', 'setting', 'add,delete', 'setting'),
('audits', 'operatelog', 'add,delete,change', 'operatelog'), ('audits', 'operatelog', 'add,delete,change', 'operatelog'),
('audits', 'passwordchangelog', 'add,change,delete', 'passwordchangelog'), ('audits', 'passwordchangelog', 'add,change,delete', 'passwordchangelog'),
('audits', 'userloginlog', 'change,delete,change', 'userloginlog'), ('audits', 'userloginlog', 'add,change,delete,change', 'userloginlog'),
('audits', 'ftplog', 'change,delete', 'ftplog'), ('audits', 'ftplog', 'change,delete', 'ftplog'),
('tickets', 'ticket', '*', '*'), ('tickets', 'ticket', '*', '*'),
('tickets', 'comment', 'change,delete', '*'),
('xpack', 'interface', '*', '*'), ('xpack', 'interface', '*', '*'),
('xpack', 'license', '*', '*'), ('xpack', 'license', '*', '*'),
('common', 'permission', 'add,delete,view,change', 'permission'), ('common', 'permission', 'add,delete,view,change', 'permission'),
('terminal', 'command', 'delete,change', 'command'), ('terminal', 'command', 'delete,change', 'command'),
('terminal', 'status', 'delete,change', 'status'),
('terminal', 'sessionjoinrecord', 'delete', 'sessionjoinrecord'), ('terminal', 'sessionjoinrecord', 'delete', 'sessionjoinrecord'),
('terminal', 'sessionreplay', 'delete', 'sessionreplay'), ('terminal', 'sessionreplay', 'delete', 'sessionreplay'),
('terminal', 'session', 'delete', 'session'), ('terminal', 'session', 'delete', 'session'),