Skip to content

Commit 7572094

Browse files
committed
fix: user role
1 parent 869812d commit 7572094

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)