mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-06 19:38:54 +00:00
perf: 更新appletpublication applethostdeployment 权限位 (#11893)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
parent
d95a44fe44
commit
3c3c112b07
@ -119,8 +119,6 @@ exclude_permissions = (
|
|||||||
('terminal', 'sessionsharing', 'view,add,change,delete', 'sessionsharing'),
|
('terminal', 'sessionsharing', 'view,add,change,delete', 'sessionsharing'),
|
||||||
('terminal', 'session', 'delete,share', 'session'),
|
('terminal', 'session', 'delete,share', 'session'),
|
||||||
('terminal', 'session', 'delete,change', 'command'),
|
('terminal', 'session', 'delete,change', 'command'),
|
||||||
('terminal', 'appletpublication', '*', '*'),
|
|
||||||
('terminal', 'applethostdeployment', '*', '*'),
|
|
||||||
('applications', '*', '*', '*'),
|
('applications', '*', '*', '*'),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -152,6 +150,8 @@ only_system_permissions = (
|
|||||||
('orgs', 'organization', 'view', 'rootorg'),
|
('orgs', 'organization', 'view', 'rootorg'),
|
||||||
('terminal', 'applet', '*', '*'),
|
('terminal', 'applet', '*', '*'),
|
||||||
('terminal', 'applethost', '*', '*'),
|
('terminal', 'applethost', '*', '*'),
|
||||||
|
('terminal', 'appletpublication', '*', '*'),
|
||||||
|
('terminal', 'applethostdeployment', '*', '*'),
|
||||||
('acls', 'loginacl', '*', '*'),
|
('acls', 'loginacl', '*', '*'),
|
||||||
('acls', 'connectmethodacl', '*', '*')
|
('acls', 'connectmethodacl', '*', '*')
|
||||||
)
|
)
|
||||||
|
@ -75,6 +75,8 @@ special_pid_mapper = {
|
|||||||
'xpack.strategyrule': 'cloud_import',
|
'xpack.strategyrule': 'cloud_import',
|
||||||
'terminal.applet': 'remote_application',
|
'terminal.applet': 'remote_application',
|
||||||
'terminal.applethost': 'remote_application',
|
'terminal.applethost': 'remote_application',
|
||||||
|
'terminal.appletpublication': 'remote_application',
|
||||||
|
'terminal.applethostdeployment': 'remote_application',
|
||||||
'accounts.accountbackupautomation': "backup_account_node",
|
'accounts.accountbackupautomation': "backup_account_node",
|
||||||
'accounts.accountbackupexecution': "backup_account_node",
|
'accounts.accountbackupexecution': "backup_account_node",
|
||||||
"accounts.pushaccountautomation": "push_account_node",
|
"accounts.pushaccountautomation": "push_account_node",
|
||||||
|
Loading…
Reference in New Issue
Block a user