1
0
Fork 0
forked from sr2/cloud-api
Commit graph

22 commits

Author SHA1 Message Date
939abaefe9 feat: improved caor request model
Issue: #23
2026-06-10 09:32:02 +01:00
768a3881ef feat: sua added to group invitations
Issue: #23
2026-06-09 16:52:22 +01:00
a215d11df9 feat: id returned with permission details 2026-06-09 14:04:21 +01:00
4ff9edf6d1 feat: schema mixins moved to project level
Resolves circular dependency issues.
2026-06-09 13:17:31 +01:00
c452c6c0d5 feat: delete endpoint queries
Delete endpoints do not fully support bodies. Queries used instead.

Tests added.

Resolves #20
2026-06-09 09:29:14 +01:00
c689ac1e10 minor: ruff formatter
All changes are either:
- Correcting tabs
- Adding/removing line breaks
- Adding trailing commas
2026-06-08 15:31:37 +01:00
c9cd75a7ad fix: missing src in imports 2026-06-03 09:15:25 +01:00
b8b5b6dbd3 fix: permission search typing 2026-06-02 15:55:50 +01:00
ae0181c3ff fix: create permission endpoint
Verifies service exists before attaching permission.

Response built manually because calculated properties are not handled by .__dict()__

Request model uses Service ID mixin.

Service ID mixin verifies ID > 0
2026-06-02 15:36:05 +01:00
5d1606aa9d fix: permission search changed to post
Get requests cannot have bodies.
2026-06-02 15:13:00 +01:00
3052565258 fix: userschema config
Required for Pydantic to map a SQLAlchemy model to it.
2026-06-02 14:37:07 +01:00
2f4b7b8733 fix: missing org id in req 2026-06-02 14:21:05 +01:00
5ec1f2272a minor: >0 perm & group id in bodies 2026-06-02 14:18:04 +01:00
5104257a50 fix: missing org id in req body 2026-06-02 13:50:13 +01:00
3ea782d68f minor: min length on group name post 2026-06-02 13:37:42 +01:00
9a1975c389 minor: iam schema nomenclature 2026-05-28 13:37:32 +01:00
0e169af456 docs: iam docstrings
Issue: #13
2026-05-28 13:22:24 +01:00
868e56ce40 feat: custom exceptions instead of direct fastapi.httpexceptions
Resolves #2
2026-05-27 14:58:10 +01:00
657f91d73d feat: org dependencies
Org endpoints use query/body model dependencies to perform initial db lookups.

Issue #6

Org ID path params have been replaced with either query params (get endpoints) or body values.

Resolves #10

Endpoints in other modules that rely on an org model lookup have also been updated.
2026-05-27 12:21:30 +01:00
c6a2b301dc feat: iam dependencies
IAM endpoints now use dependencies to perform most initial database get requests.

Issue #6
2026-05-27 12:21:30 +01:00
d4f1b73deb feat: iam endpoint req/res models 2026-05-26 16:25:14 +01:00
23f2ce98d7 feat: iam rbac system
Endpoints and db architecture to support a role based IAM system.
2026-05-25 09:05:17 +01:00