A role is a named bundle of Permissions. Users are assigned one or more roles; their effective permissions are the union of every role they hold.
Roles are the primary unit of authorization in GeoHazardWatch. The per-page rules (Page Private, Author Lock, Page Audience, access) act as overrides on top of the role-based defaults supplied by the global access policies.
The table below is rendered from the live configuration at view time — it reflects the roles configured on this instance right now, not a hand-maintained list.
| Role Name | Display Name | Description | Type | Icon |
|---|---|---|---|---|
admin |
Administrator | Full system access to all features | System | |
anonymous |
Anonymous | Public access without authentication | System | |
contributor |
Contributor | Can create and edit pages | System | |
editor |
Editor | Can create, edit, delete, and rename pages | System | |
reader |
Reader | Read-only access to content | System | |
user-admin |
User Administrator | Can manage users — create, edit, deactivate, delete | System | |
vault-owner |
Vault Owner | Everything inside your own vaults — pages and files: read, create, edit, rename, delete, upload, share by link. Applies only in vaults you own; not deleting a vault. Given to every account (#1539) | System | |
demo-admin |
Demo Administrator | Read-only access to the admin dashboard. For public demo instances: can view every admin screen but change nothing, and cannot see the user list. | Custom |
audience / access frontmatter fieldsEach role lists a set of Permissions it grants. The mapping is defined in two places, both in the application configuration:
ngdpbase.roles.definitions.<role>.permissions — the inline list on each role definitionngdpbase.access.policies — the global access policies that grant each role its permissions on the page:* resourceWhen evaluating whether a user may perform an action on a page, the access-control flow is:
private: true), only the page creator and admins are allowed; everything below is ignored. See Page Private.audience or access), use it. See Page Audience.