feat(roles): every mokosh user is an admin of their own instance #401
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-server!401
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/MAPPS-330-everyone-is-mokosh-admin"
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?
MAPPS-330: collapse the mokosh role surface to admin / super_admin. The PMS-458 invite-respect carveout that preserved least-privilege grants into shared org tenants is removed: every signed-in Bunyip user is admin of their own world, even when joining via an invite. Cross-tenant
bunyip_role = adminstill rises to super_admin. The invitation default also flips fromtechniciantoadminso the rare admin-authored invite is consistent with the runtime.Existing rows seeded under the old taxonomy (technician, manager, dispatcher, sales, finance) are backfilled in place by migration 084 so the DB matches runtime authorization on the first request after deploy, not whenever the user next signs in.
#MAPPS-330