DAR-147 — Local dev security bypass and Keycloak role name normalization
- Add
LocalSecurityConfigurationactive onlocalprofile only — bypasses JWT validation and injectsROLE_SUPER_ADMIN / ROLE_ADMIN / ROLE_MODERATORso admin endpoints are reachable without a running Keycloak instance during local development - Restrict
SecurityConfigurationto!localprofiles to prevent both filter chains from conflicting - Fix
assignRealmRoleinAdminUserServiceImpl: enum names areUPPER_SNAKE(e.g.SUPER_ADMIN) but Keycloak stores realm roles inlower-hyphenform (super-admin) — the mismatch was causing role assignment to silently fail or throw - Improve Keycloak user creation error to include the response body, making failures easier to diagnose