feat/admin-user-management #60
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
psa-systems/bunyip!60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/admin-user-management"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.