feat: 完成项目助手与监控演示并修复聊天及云部署配置

This commit is contained in:
NathanAlex7
2026-09-11 15:56:28 +08:00
parent c57d291f65
commit af1a1027d7
75 changed files with 5215 additions and 101 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def projects(request: Request):
for obj in existing_rows(db, table):
project_id = obj["project_id"]
user = request.state.identity
if user["role"] == "manager" and "*" not in user.get("projects", []) and project_id not in user.get("projects", []):
if "*" not in user.get("projects", []) and project_id not in user.get("projects", []):
continue
entry = objects.setdefault(project_id, {"project_id": project_id, "risk": None, "report": None, "coordination": None, "collateral": None})
if entry[key] is not None: