Commit graph

145 commits

Author SHA1 Message Date
bcdef91dd0 feat: user invite response models
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-11 14:14:31 +01:00
8925280f96 feat: questions union
Allows responses to include questionnaire questions of multiple versions
2026-06-11 13:38:14 +01:00
38c26cca7b docs: iam module meta doc 2026-06-11 13:07:48 +01:00
0a7f9092c7 feat: questionnaire shape update 2026-06-11 12:24:36 +01:00
dd0478d5e7 docs: iam router
Issue: #13
2026-06-11 09:36:51 +01:00
61e186a727 docs: iam router (incomplete)
All checks were successful
ci / lint_and_test (push) Successful in 13s
Issue: #13
2026-06-10 16:49:37 +01:00
ec41d1ed05 feat: caor docs and response model
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-10 16:16:56 +01:00
0b521414b3 feat: add group user by id restriction
All checks were successful
ci / lint_and_test (push) Successful in 14s
Adding by ID can only be done for existing org members
2026-06-10 14:48:22 +01:00
3dbd72a109 feat: 403 exception 2026-06-10 14:47:33 +01:00
ec572aa4c1 feat: sua expiry handling 2026-06-10 14:14:22 +01:00
294baadcb7 feat: more ids returned on endpoints
All checks were successful
ci / lint_and_test (push) Successful in 14s
Issue: #23
2026-06-10 13:48:59 +01:00
bdba903db1 feat: deleted owned org endpoint
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-10 10:15:27 +01:00
3b82025abb feat: get org response mirrors get user orgs structure
All checks were successful
ci / lint_and_test (push) Successful in 13s
2026-06-10 09:49:05 +01:00
939abaefe9 feat: improved caor request model
All checks were successful
ci / lint_and_test (push) Successful in 14s
Issue: #23
2026-06-10 09:32:02 +01:00
768a3881ef feat: sua added to group invitations
All checks were successful
ci / lint_and_test (push) Successful in 13s
Issue: #23
2026-06-09 16:52:22 +01:00
7809df4c5a feat: get self db user_id
All checks were successful
ci / lint_and_test (push) Successful in 15s
2026-06-09 16:33:42 +01:00
6af8490276 fix: wrong contact email in new endpoint 2026-06-09 16:06:28 +01:00
55a61d0df5 fix: get user orgs endpoint can return null questionnaires
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-09 15:55:23 +01:00
56569f09db feat: get user self orgs endpoint
All checks were successful
ci / lint_and_test (push) Successful in 14s
2026-06-09 15:52:38 +01:00
ebcb0362c6 fix: pycharm import error
All checks were successful
ci / lint_and_test (push) Successful in 15s
2026-06-09 14:47:37 +01:00
0c81791191 fix: pycharm import error
Some checks failed
ci / lint_and_test (push) Failing after 8s
2026-06-09 14:45:40 +01:00
607f736453 feat: user ids return on get org users 2026-06-09 14:42:37 +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
e9fe405e06 feat: add org user by id requires su
Part of the "sensical user adding" changes.
2026-06-09 13:07:43 +01:00
62c43ce883 feat: sensical user invitation
Some checks failed
ci / lint_and_test (push) Failing after 8s
Users can now be invited to an org by email.

"Email" for now is "print to stdout"

Resolves #12
2026-06-09 12:22:36 +01:00
5d1e9c27e7 minor: ruff check 2026-06-09 09:33:22 +01:00
c452c6c0d5 feat: delete endpoint queries
Some checks failed
ci / lint_and_test (push) Failing after 5s
Delete endpoints do not fully support bodies. Queries used instead.

Tests added.

Resolves #20
2026-06-09 09:29:14 +01:00
e9b272811f feat: all unique constraints tested 2026-06-08 16:05:20 +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
b2e5dd2ebb feat: sqlite integrity error handle 2026-06-08 15:24:42 +01:00
8777ad2814 fix: default db credential colon
Some checks failed
ci / lint_and_test (push) Failing after 8s
2026-06-08 14:52:10 +01:00
76ef862d40 feat: org id in get org response
Some checks failed
ci / lint_and_test (push) Failing after -2s
2026-06-08 14:16:45 +01:00
fff7ccde12 test: super admin dep override
Test user super admin account added via override rather than assumed present.
2026-06-08 11:10:39 +01:00
1aac45eb76 feat: group ids in get user endpoints 2026-06-08 10:51:01 +01:00
903b24d17d ruff: config and initial run 2026-06-08 10:45:38 +01:00
bb4965ab07 feat: org id in get user/self/db 2026-06-08 10:26:17 +01:00
f600664789 tests: improved coverage 2026-06-05 09:10:55 +01:00
c8024daa97 minor: renames and error messages 2026-06-04 14:53:35 +01:00
2ec9cca99c feat: super admin handling
The list of super admins now comes from a dependency, allowing it to easily be overrridden during testing.
2026-06-04 11:48:50 +01:00
3460cd76a5 tests: super admin auth tests 2026-06-03 14:36:15 +01:00
f44c5b6f36 minor: unauthorized exception su message 2026-06-03 14:22:11 +01:00
af680dbc38 feat: get/patch contact includes org info
Resolves #19
2026-06-03 09:45:48 +01:00
8a9f03ee0b feat: get users includes org info 2026-06-03 09:38:54 +01:00
7833386350 feat: patch questionnaire doesn't overwrite with none 2026-06-03 09:29:06 +01:00
c9cd75a7ad fix: missing src in imports 2026-06-03 09:15:25 +01:00
1845012cb7 feat: get org endpoint returns questionnaire 2026-06-02 16:36:56 +01:00
81a4cc6cca feat: org router endpoint cleanup
`/id/` removed from GET
Trailing `/` removed from POST and DELETE
2026-06-02 16:36:11 +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
b8b5b6dbd3 fix: permission search typing 2026-06-02 15:55:50 +01:00