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