Skip to content

Commit ade3de4

Browse files
修正错误的缓存值。
1 parent d3e04af commit ade3de4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get_role_list(user,
274274
for
275275
workspace_user_role_mapping in
276276
workspace_user_role_mapping_list], [])))
277-
cache.set(key, workspace_list, version=version)
277+
cache.set(key, role_list, version=version)
278278
return role_list
279279
else:
280280
if user.role == RoleConstants.ADMIN.value.__str__():

0 commit comments

Comments
 (0)