Skip to content

packages/shared-types/src/roles.ts ​

Auto-generated by scripts/generate-file-docs.ts. Do not edit — overwritten on every run.

Purpose ​

Platform RBAC role definitions — Heritage Virginia Community Hub Two categories: Ordinal (hierarchical): compared by ROLE_LEVEL for "at least X" checks. Non-ordinal (feature): grant specific portal/feature access; not comparable by level. ADR 0006 (two-plane RBAC), ADR 0023 (comms_author), ADR 0037 (role expansion). /

Exports ​

  • export type AppRole
  • export type HierarchicalRole
  • export type FeatureRole
  • export const ROLE_LEVEL
  • export const FEATURE_ROLES

Imports ​

(none detected)

Imported by ​

Heritage Community Hub — Internal. Access restricted via Cloudflare Access + Entra ID.