JWT roles gate what a user can do after auth.

Roles (examples)

RoleTypical access
warga / residentResident portal — iuran, surat, kampanye, pasar, …
bendaharaFinance / kas / iuran admin
sekretarisSurat and administrative workflows
adminCommunity administration (/admin/*)
super_adminPlatform-wide (e.g. approve tenants at /platform)

Exact permissions are enforced in the API; the web app exposes matching route groups (resident) and (admin).

Portals

PortalSurface
Public tenant site{slug}.halort.com
Auth/login, /register, …
Residentdashboard, iuran, layanan, …
Admin/admin/*
Platform opsapp.halort.com/platform

Mobile apps currently focus on the resident experience — Surfaces/Mobile iOS · Surfaces/Mobile Android.