All changelog entries
Improved
Retired the legacy ADMIN role — every facility admin is now FACILITY_ADMIN
The schema previously carried ADMIN as a legacy alias for FACILITY_ADMIN. We migrated all rows, dropped the enum value, and simplified ~200 occurrences across the codebase.
Cleaned up a five-role system (SUPER_ADMIN, ORG_ADMIN, FACILITY_ADMIN, STAFF, FAMILY) by retiring the legacy ADMIN alias. SQL migration backfilled every ADMIN user to FACILITY_ADMIN inside a transaction with a verification step.
Touched 200+ occurrences across the web and api codebases. All paired role checks (ADMIN || FACILITY_ADMIN) collapsed to single FACILITY_ADMIN checks. The one-role pattern is faster to reason about and impossible to misconfigure.