From da521809769edd6320f43db8f0b0da63381007d2 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Mon, 14 Aug 2023 16:37:56 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BB=84=E7=BB=87=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0connectiontoken=E6=9D=83=E9=99=90=20(#11268)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/rbac/const.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/rbac/const.py b/apps/rbac/const.py index c484b747f..20f469611 100644 --- a/apps/rbac/const.py +++ b/apps/rbac/const.py @@ -144,7 +144,9 @@ only_system_permissions = ( ('terminal', 'task', '*', '*'), ('terminal', 'endpoint', '*', '*'), ('terminal', 'endpointrule', '*', '*'), - ('authentication', '*', '*', '*'), + ('authentication', 'accesskey', '*', '*'), + ('authentication', 'superconnectiontoken', '*', '*'), + ('authentication', 'temptoken', '*', '*'), ('tickets', '*', '*', '*'), ('orgs', 'organization', 'view', 'rootorg'), ('terminal', 'applet', '*', '*'),