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:
fit2bot
2024-06-21 19:08:37 +08:00
committed by GitHub
parent 407a77f61b
commit ae7dbbedcc
11 changed files with 124 additions and 123 deletions

View File

@@ -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', '*', '*'),

View File

@@ -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",