chore(auth): default new registrations to Admin role (staging only) #28

Merged
YousifShkara merged 1 commit from chore/register-as-admin-staging into main 2026-06-02 07:58:21 +02:00
Owner

Every POST /v1/auth/register now lands as UserRole::Admin instead of Subscriber so the c-01 staging team can exercise admin surfaces (orgs, billing, invitations) without a separate promote step. Revert this commit before production: open registration plus auto-admin together makes account self-elevation trivial.

Every `POST /v1/auth/register` now lands as UserRole::Admin instead of Subscriber so the c-01 staging team can exercise admin surfaces (orgs, billing, invitations) without a separate promote step. Revert this commit before production: open registration plus auto-admin together makes account self-elevation trivial.
chore(auth): default new registrations to Admin role (staging only)
Some checks failed
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt / clippy / build / test (pull_request) Failing after 11s
6a07c17841
Every `POST /v1/auth/register` now lands as UserRole::Admin instead of Subscriber so the c-01 staging team can exercise admin surfaces (orgs, billing, invitations) without a separate promote step. Revert this commit before production: open registration plus auto-admin together makes account self-elevation trivial.
YousifShkara deleted branch chore/register-as-admin-staging 2026-06-02 07:58:21 +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!28
No description provided.