feat: support rbac SSO token

This commit is contained in:
Ewall555
2025-07-08 03:18:51 +00:00
committed by 老广
parent 4bf337b2b4
commit 9a446c118b
2 changed files with 5 additions and 3 deletions

View File

@@ -24,7 +24,6 @@ exclude_permissions = (
('authentication', 'privatetoken', '*', '*'),
('authentication', 'connectiontoken', 'delete,change', 'connectiontoken'),
('authentication', 'connectiontoken', 'view', 'connectiontokensecret'),
('authentication', 'ssotoken', '*', '*'),
('authentication', 'superconnectiontoken', 'change,delete', 'superconnectiontoken'),
('authentication', 'temptoken', 'delete', 'temptoken'),
('users', 'userpasswordhistory', '*', '*'),
@@ -156,6 +155,7 @@ only_system_permissions = (
('authentication', 'superconnectiontoken', '*', '*'),
('authentication', 'temptoken', '*', '*'),
('authentication', 'passkey', '*', '*'),
('authentication', 'ssotoken', '*', '*'),
('tickets', '*', '*', '*'),
('orgs', 'organization', 'view', 'rootorg'),
('terminal', 'applet', '*', '*'),