perf: 更新appletpublication applethostdeployment 权限位 (#11893)

Co-authored-by: feng <1304903146@qq.com>
pull/11898/head
fit2bot 2023-10-18 16:35:08 +08:00 committed by GitHub
parent d95a44fe44
commit 3c3c112b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -119,8 +119,6 @@ exclude_permissions = (
('terminal', 'sessionsharing', 'view,add,change,delete', 'sessionsharing'),
('terminal', 'session', 'delete,share', 'session'),
('terminal', 'session', 'delete,change', 'command'),
('terminal', 'appletpublication', '*', '*'),
('terminal', 'applethostdeployment', '*', '*'),
('applications', '*', '*', '*'),
)
@ -152,6 +150,8 @@ only_system_permissions = (
('orgs', 'organization', 'view', 'rootorg'),
('terminal', 'applet', '*', '*'),
('terminal', 'applethost', '*', '*'),
('terminal', 'appletpublication', '*', '*'),
('terminal', 'applethostdeployment', '*', '*'),
('acls', 'loginacl', '*', '*'),
('acls', 'connectmethodacl', '*', '*')
)

View File

@ -75,6 +75,8 @@ special_pid_mapper = {
'xpack.strategyrule': 'cloud_import',
'terminal.applet': 'remote_application',
'terminal.applethost': 'remote_application',
'terminal.appletpublication': 'remote_application',
'terminal.applethostdeployment': 'remote_application',
'accounts.accountbackupautomation': "backup_account_node",
'accounts.accountbackupexecution': "backup_account_node",
"accounts.pushaccountautomation": "push_account_node",