Healthcare Demo Application
Run the Galactic Health Corporation (GHC) demo app and see how one healthcare app combines three permission models in Permit.io. This worked example is for developers who design authorization for apps with delegated access, such as patients who share records with caregivers.
GHC is a Next.js sample app set in the universe of "Rick and Morty". The app uses:
- Role-based access control (RBAC) to show a pilot group a benefits card that other users don't see.
- Relationship-based access control (ReBAC) to let members share their health data with caregivers.
- Attribute-based access control (ABAC) to limit caregiver access to a date range.
note
The code is in the Galactic-Health-Corporation repository. For a longer walkthrough, read Building healthcare authorization with Next.js on the Permit blog.