feat(auth): single-tenancy admin floor on Bunyip RS path (PMS-447) #323
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/mokosh-server!323
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/PMS-447-single-tenancy-admin-default"
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?
After the single-tenancy pivot every Mokosh tenant has exactly one user (the owner), so a signed-in Bunyip user IS the admin of their own world by construction. JIT-created Bunyip users now default to Admin (was Technician) and the Bunyip claim reconciliation now floors
subscriber(and unknown future claims) at Admin instead of keeping the local role.admincontinues to map to SuperAdmin and the absent-claim path still leaves the local role unchanged so the legacy HS256 / standalone token paths are unaffected. Tests updated to assert the new floor; the existing super_admin-clamp behaviour is preserved.#PMS-447