mirror of https://github.com/jumpserver/jumpserver
fix: 修复工单ticket exclude perm (#7799)
* fix: 修复工单ticket exclude perm * fix: 修复perm tree Co-authored-by: feng626 <1304903146@qq.com>pull/7801/head
parent
b644c47173
commit
10c877c120
|
@ -23,6 +23,10 @@ exclude_permissions = (
|
|||
('common', 'setting', '*', '*'),
|
||||
|
||||
('authentication', 'privatetoken', '*', '*'),
|
||||
('authentication', 'accesskey', 'change,delete', 'accesskey'),
|
||||
('authentication', 'connectiontoken', 'change,delete', 'connectiontoken'),
|
||||
('authentication', 'ssotoken', 'change,delete', 'ssotoken'),
|
||||
('authentication', 'superconnectiontoken', 'change,delete', 'superconnectiontoken'),
|
||||
('users', 'userpasswordhistory', '*', '*'),
|
||||
('applications', 'applicationuser', '*', '*'),
|
||||
('applications', 'historicalaccount', '*', '*'),
|
||||
|
@ -56,9 +60,9 @@ exclude_permissions = (
|
|||
('audits', 'passwordchangelog', 'add,change,delete', 'passwordchangelog'),
|
||||
('audits', 'userloginlog', 'add,change,delete,change', 'userloginlog'),
|
||||
('audits', 'ftplog', 'change,delete', 'ftplog'),
|
||||
('tickets', 'ticket', '*', '*'),
|
||||
('tickets', 'ticketflow', 'add,delete', 'ticketflow'),
|
||||
('tickets', 'comment', 'change,delete', 'comment'),
|
||||
('tickets', 'ticket', 'delete', 'ticket'),
|
||||
('tickets', 'ticketstep', '*', '*'),
|
||||
('tickets', 'approvalrule', '*', '*'),
|
||||
('xpack', 'interface', '*', '*'),
|
||||
|
@ -76,6 +80,7 @@ exclude_permissions = (
|
|||
|
||||
|
||||
only_system_permissions = (
|
||||
('assets', 'platform', '*', '*'),
|
||||
('users', 'user', 'delete', 'user'),
|
||||
('rbac', 'role', 'delete,add,change', 'role'),
|
||||
('rbac', 'systemrole', '*', '*'),
|
||||
|
|
Loading…
Reference in New Issue