mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-02 16:05:29 +00:00
perf: Edit rbac perms (#13468)
Co-authored-by: feng <1304903146@qq.com> Co-authored-by: feng626 <57284900+feng626@users.noreply.github.com>
This commit is contained in:
@@ -66,6 +66,7 @@ exclude_permissions = (
|
||||
('accounts', 'account', 'change', 'accountsecret'),
|
||||
('accounts', 'account', 'view', 'historyaccount'),
|
||||
('accounts', 'account', 'view', 'historyaccountsecret'),
|
||||
('accounts', 'accounttemplate', 'change_accounttemplatesecret', 'accounttemplate'),
|
||||
|
||||
('perms', 'userassetgrantedtreenoderelation', '*', '*'),
|
||||
('perms', 'permedaccount', '*', '*'),
|
||||
|
@@ -98,7 +98,6 @@ special_pid_mapper = {
|
||||
"accounts.view_changesecretrecord": "asset_change_plan_node",
|
||||
'audits.ftplog': 'terminal',
|
||||
'perms.view_myassets': 'my_assets',
|
||||
|
||||
'ops.job': 'operation_center',
|
||||
'ops.adhoc': 'operation_center',
|
||||
'ops.playbook': 'operation_center',
|
||||
@@ -133,7 +132,6 @@ special_setting_pid_mapper = {
|
||||
'terminal.applethostdeployment': 'remote_app',
|
||||
"settings.change_terminal": "components",
|
||||
"terminal.terminal": "components",
|
||||
"terminal.view_terminal": "components",
|
||||
"terminal.endpoint": "components",
|
||||
"terminal.endpointrule": "components",
|
||||
"terminal.status": "components",
|
||||
|
Reference in New Issue
Block a user