This commit is contained in:
Josh Hawkins
2026-09-30 09:33:37 -05:00
parent 17e1d5e094
commit 743fef2782
+4
View File
@@ -57,6 +57,10 @@ class TestHttpApp(BaseTestHttp):
with AuthTestClient(app) as client:
assert client.get("/faces", headers=viewer).status_code == 403
assert client.get("/faces").status_code == 200
assert (
client.post("/faces/train/person/classify", headers=viewer).status_code
== 403
)
# Camera routes for the same name stay reachable by viewers
response = client.get("/faces/recordings/summary", headers=viewer)