Access control
Corteza defines three particular role types which need to be registered in the .env
file.
The role types:
-
Bypass:
RBAC_BYPASS_ROLES
; defaults tosuper-admin
. Bypass roles may not appear in any of the other lists. -
Authenticated:
RBAC_AUTHENTICATED_ROLES
; defaults toauthenticated
. Authenticated roles may not appear in any of the other lists. -
Anonymous:
RBAC_ANONYMOUS_ROLES
; defaults toanonymous
The .env
variables accept a space-delimited list of role handles.