Merge pull request #423 from SuanmoSuanyangTechnology/release/v0.2.5

Release/v0.2.5
This commit is contained in:
Ke Sun
2026-02-28 18:38:18 +08:00
committed by GitHub
11 changed files with 84 additions and 26 deletions

View File

@@ -100,7 +100,7 @@ def get_current_user_info(
result_schema.current_workspace_name = current_workspace.name
for ws in result.workspaces:
if ws.workspace_id == current_user.current_workspace_id:
if ws.workspace_id == current_user.current_workspace_id and ws.is_active:
result_schema.role = ws.role
break