feat: redesign workspaces and stabilize screeners

This commit is contained in:
leefer
2026-07-26 13:31:45 +08:00
parent 149c468240
commit 6adeb54458
21 changed files with 18786 additions and 917 deletions
+3
View File
@@ -24,6 +24,7 @@ MEMBER_POST_PATHS = frozenset(
"/api/screener/compile",
"/api/screener/strategies",
"/api/screener/run",
"/api/screener/tracking",
"/api/screener/tracking/refresh",
"/api/mentors/chat",
"/api/mentors/preferences",
@@ -64,4 +65,6 @@ def required_role(method: str, path: str) -> AccessRole:
return "member"
if re.fullmatch(r"/api/heaven/readings/\d+", path):
return "member"
if re.fullmatch(r"/api/screener/tracking/\d+", path):
return "member"
return "authenticated"