feat: 完成项目助手与监控演示并修复聊天及云部署配置
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user