From 48b937d86709c94eea10fccd7af22bc0d2674e4b Mon Sep 17 00:00:00 2001 From: Bai Date: Wed, 15 Mar 2023 11:30:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=94=A8=E6=88=B7=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/models/connection_token.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/authentication/models/connection_token.py b/apps/authentication/models/connection_token.py index 5e344bed7..6a69a7e37 100644 --- a/apps/authentication/models/connection_token.py +++ b/apps/authentication/models/connection_token.py @@ -222,9 +222,9 @@ class ConnectionToken(JMSOrgBaseModel): 'secret_type': account.secret_type, 'secret': account.secret or self.input_secret, 'su_from': account.su_from, - 'org_id': account.org_id + 'org_id': account.org_id, + 'privileged': account.privileged } - data['privileged'] = account.privileged return Account(**data) @lazyproperty