User Roles
Two distinct sets of roles exist, and conflating them causes permission bugs.
Participants use the product. Administrative roles operate it. An administrative role is not a kind of user.
Participants
| Role | Responsibility |
|---|---|
| Passenger | Requests and uses compatible shared journeys |
| Driver | Publishes an existing journey and accepts eligible requests |
A person can be both. account_type records PASSENGER, DRIVER or BOTH.
Drivers hold two profiles when they are also passengers — driver_profiles and passenger_profiles — because driving attributes (licence, approval) and passenger preferences are different data. It is still one identity with one verification state.
Administrative roles
These map one-to-one onto the API RBAC roles in API Overview.
| Role | Responsibility | API role |
|---|---|---|
| Administrator | Role assignment, policy activation, full access | SUPER_ADMIN |
| Compliance Operator | Reviews policy and risk decisions, manages rules | COMPLIANCE_ADMIN |
| Safety Operator | Handles incidents, emergency review, safety suspensions | SAFETY_ADMIN |
| Support Agent | User lookups, support actions, account restrictions | SUPPORT_AGENT |
| Analyst | Reporting and analytics — read-only | ANALYST |
Least privilege applies at the endpoint level. An ANALYST has no route that can mutate a compliance rule, even though both roles can view the queue.
External role
| Role | Responsibility |
|---|---|
| Regulatory Authority | Future reporting and integration, subject to agreement |
Not a platform role. Access is role-based, least-privilege, audited, encrypted and time-limited where appropriate — see Regulatory API.
