feat(server): add project RBAC and guarded workflows

This commit is contained in:
2026-07-30 16:45:09 +08:00
parent 3fbb17bb30
commit ae1a657554
29 changed files with 1431 additions and 412 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ def test_meta_project_returns_map_extent(monkeypatch):
app = build_test_app(module.router, "/api/v1")
app.dependency_overrides[module.get_project_context] = lambda: SimpleNamespace(
project_id=project_id,
project_role="editor",
project_role="member",
)
app.dependency_overrides[module.get_metadata_repository] = lambda: repo
client = TestClient(app)