feat: admin user management with UUID validation, self-demotion guard, password docs #181
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/westside-app!181
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "127-admin-qa-nits"
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?
Summary
Re-creates the admin user management page (originally from PR #11) adapted for the current client-side SPA architecture (adapter-static + keycloak-js). Bakes in the three QA nits from PR #11 review as defensive improvements rather than afterthoughts.
Changes
src/lib/keycloak.js-- addedgetUserId()function exposing the tokensubclaim (Keycloak UUID)src/routes/(app)/admin/users/+page.svelte-- new admin user management page with all three QA nits:src/routes/(app)/admin/+page.svelte-- added "Users" link to admin dashboard manage section, renamed Keycloak link to "Keycloak Console"Test Plan
npm run buildsucceeds with 0 errorssvelte-checkpasses: 0 errors, no new warnings/admin/usersReview Checklist
Related Notes