docs(e2e): spell out how to set the E2E account's admin role (SQL + bootstrap) #143
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/pms-155-e2e-admin-account"
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?
Expand the provisioning step with the exact mechanism. The E2E account reaches mokosh on the bunyip Resource-Server path (ensure_user_from_bunyip), which resolves the request role from the mokosh
userstable row, not from the access token; the row is auto-created with the defaultrole = 'technician'. Document the direct-DB UPDATE to flip it toadmin, the admin-API alternative (PUT /api/v1/users/{id}), and the OAUTH_SUPER_ADMIN_EMAILS Google-path bootstrap for the first admin (noting it does not apply to the bunyip SSO path the E2E account uses).#PMS-155
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Expand the provisioning step with the exact mechanism. The E2E account reaches mokosh on the bunyip Resource-Server path (ensure_user_from_bunyip), which resolves the request role from the mokosh `users` table row, not from the access token; the row is auto-created with the default `role = 'technician'`. Document the direct-DB UPDATE to flip it to `admin`, the admin-API alternative (PUT /api/v1/users/{id}), and the OAUTH_SUPER_ADMIN_EMAILS Google-path bootstrap for the first admin (noting it does not apply to the bunyip SSO path the E2E account uses). #PMS-155 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>