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

7 commits

Author SHA1 Message Date
662b9c8e26 feat: permission permissions
Orgs can only grant permissions to groups that they themselves have been granted access to.

Super admin bypasses not added, flagged as todos.
2026-06-16 13:51:31 +01:00
dad23733e8 feat: group name unique per org
Instead of group names being wholly unique (enforced by the db), group names are unique within the org (enforced by endpoint logic).
2026-06-15 11:10:02 +01:00
52990aae13 fix: permission unique constraint 2026-06-08 16:02:06 +01:00
65a9514be6 fix: drop superfluous column in usergroups
Group org is assigned in the Group table. Also assigning it in the UserGroups table complicated relationship creation and it was never used.
2026-06-02 16:11:52 +01:00
2b6d923ae1 feat: contact model restructure
Blank contacts are now generated on org creation and assigned to each contact type. These contacts are linked to the org, only accessible to the org, and removed when the org is removed.

With this all contact endpoints have been removed. Contact manipulation is done via the org only.
2026-05-25 15:15:50 +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
376a7a9fe5 Initial commit 2026-04-06 12:41:49 +01:00