feat/admin-user-management #60

Merged
YousifShkara merged 2 commits from feat/admin-user-management into main 2026-06-04 04:06:07 +02:00
Owner
No description provided.
bunyip-web pulls axum 0.7.9 + matchit 0.7.3. Matchit 0.7 only recognizes
:name for path params; the {name} brace syntax is matchit 0.8 / axum 0.8.
With 0.7 in the tree, every /admin/.../{id}... route was registered as a
LITERAL path containing braces and never matched a real UUID, so clicking
Make Admin / Delete / any /admin/feedback/{id}/status etc. fell through
to the public::not_found 404 fallback. This is the cause of the reported
'/admin/users/<uuid>/delete -> 404' the user is seeing on prod.

Convert every {name} segment in bunyip-web/src/main.rs to :name. Covers
the pre-existing user_role / user_delete / feedback_status /
application_field / set_app_restricted / user_entitlements (grant +
revoke) routes plus the four new user-management routes from this
branch.

Path extractor calls (Path<String>, Path<(String,String)>) are unchanged
- the extractor doesn't care about the registration syntax.
chore: remove stray mktemp file accidentally committed
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt / clippy / build / test (pull_request) Successful in 1m8s
8f36030dff
YousifShkara deleted branch feat/admin-user-management 2026-06-04 04:06:07 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
psa-systems/bunyip!60
No description provided.