Make auth/admin apps API calls use apiFetch, a new function that asks for permission by iframe if needed. Implement max-age checks for API authz.verify as well along with a custom exception type that carries metadata.

This commit is contained in:
Leo Vasanko
2025-12-03 11:17:02 -06:00
parent 7b0a9c2a2a
commit 1f75e0a305
15 changed files with 411 additions and 147 deletions
+1
View File
@@ -92,6 +92,7 @@ class SessionContext:
user: User
org: Org
role: Role
credential: Credential | None = None
permissions: list[Permission] | None = None