diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index a1ef67456..64432e35d 100644 --- a/apps/locale/zh/LC_MESSAGES/django.mo +++ b/apps/locale/zh/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:323dbe9835bb3fd4b357d162536d8f38bbacf09c47eb1b68ce4e323a66a01f95 -size 102621 +oid sha256:819f2eb404c90465d945987436e236488653e031c46e90fb23defae28ca57c19 +size 102615 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index f11ac290a..a0d45fa4c 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -6102,7 +6102,7 @@ msgstr "改密计划" #: xpack/plugins/change_auth_plan/models/app.py:46 #: xpack/plugins/change_auth_plan/models/app.py:95 msgid "Application change auth plan" -msgstr "应用改密计划执行" +msgstr "应用改密计划" #: xpack/plugins/change_auth_plan/models/app.py:99 #: xpack/plugins/change_auth_plan/models/app.py:151 diff --git a/apps/rbac/const.py b/apps/rbac/const.py index 8a7d5f2b2..540ff35a5 100644 --- a/apps/rbac/const.py +++ b/apps/rbac/const.py @@ -49,7 +49,7 @@ exclude_permissions = ( ('rbac', 'rolebinding', '*', '*'), ('rbac', 'role', '*', '*'), ('ops', 'adhoc', '*', '*'), - ('ops', 'adhocexecution', '*', '*'), + ('ops', 'adhocexecution', 'delete,change', '*'), ('ops', 'celerytask', '*', '*'), ('ops', 'task', 'add,change', 'task'), ('ops', 'commandexecution', 'delete,change', 'commandexecution'), @@ -57,13 +57,15 @@ exclude_permissions = ( ('settings', 'setting', 'add,delete', 'setting'), ('audits', 'operatelog', 'add,delete,change', 'operatelog'), ('audits', 'passwordchangelog', 'add,change,delete', 'passwordchangelog'), - ('audits', 'userloginlog', 'change,delete,change', 'userloginlog'), + ('audits', 'userloginlog', 'add,change,delete,change', 'userloginlog'), ('audits', 'ftplog', 'change,delete', 'ftplog'), ('tickets', 'ticket', '*', '*'), + ('tickets', 'comment', 'change,delete', '*'), ('xpack', 'interface', '*', '*'), ('xpack', 'license', '*', '*'), ('common', 'permission', 'add,delete,view,change', 'permission'), ('terminal', 'command', 'delete,change', 'command'), + ('terminal', 'status', 'delete,change', 'status'), ('terminal', 'sessionjoinrecord', 'delete', 'sessionjoinrecord'), ('terminal', 'sessionreplay', 'delete', 'sessionreplay'), ('terminal', 'session', 'delete', 'session'),