Commit graph

7 commits

Author SHA1 Message Date
a86cfea65a minor: type hint 2026-05-28 11:22:37 +01:00
88a64d2047 feat: root user dependencies also allow super admins 2026-05-28 10:56:45 +01:00
51bb48372c feat: auth dependency for root user with org in body 2026-05-27 15:34:18 +01:00
36736e5142 fix: auth dependency return values and types
Return values were all labelled as dicts instead of bools. Root user dependency now returns the org for which they are root user.
2026-05-27 15:22:32 +01:00
868e56ce40 feat: custom exceptions instead of direct fastapi.httpexceptions
Resolves #2
2026-05-27 14:58:10 +01:00
d3d3b2ca63 feat: auth dependencies
These dependencies require `user_model_claims_dependency` which requires the `claims_dependency`. This caused an import loop error and therefore they must be defined in a different file from `claims_dependency`.

Resolves #6
2026-05-27 14:30:11 +01:00
376a7a9fe5 Initial commit 2026-04-06 12:41:49 +01:00