Roles and permissions

Role flags, memberships, and access levels.

Permissions are Role checkboxes granted through CompanyMembership (company wide) and ProjectMembership (viewer, contributor, manager).

AreaFlags
Companies and peoplecanReadCompanies, canManageCompanies, canReadCompanyMemberships, canManageCompanyMemberships, canReadPeople, canManagePeople, canReadRoles, canManageRoles, canManageSettings, canManageOnboarding
ProjectscanReadProjects, canManageProjects, canReadProjectMemberships, canManageProjectMemberships
PreconstructioncanReadPreconstruction, canManagePreconstruction
Financials, contracts, billingcanReadFinancials/canManageFinancials, canReadContracts/canManageContracts, canReadBilling/canManageBilling
Execution and documentscanReadProjectExecution/canManageProjectExecution, canReadDocuments/canManageDocuments, canReadFieldOperations/canManageFieldOperations
SafetycanReadSafety, canManageSafety
Agents and auditcanReadAgents, canManageAgents, canReadAudit

Onboarding creates Company Administrator, Project Manager, Field Lead, and External Collaborator roles. External portal members and website customers never get dashboard access. Status fields are read-only on generic update pages; use the named transitions.