Skip to content

Commit 1a5db6b

Browse files
authored
fix: user role (#3362)
1 parent a8127ef commit 1a5db6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/common/auth/handle/impl/user_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_role_list(user,
242242
workspace_user_role_mapping.workspace_id)
243243
for
244244
workspace_user_role_mapping in
245-
workspace_user_role_mapping_list] + [user.role]
245+
workspace_user_role_mapping_list]
246246
cache.set(key, workspace_list, version=version)
247247
return role_list
248248
else:

0 commit comments

Comments
 (0)