Febasidocs
Roles & permissions

Overview

Hierarchical RBAC — roles, permissions, hierarchy levels, and the grant/check operations.

Authorization in Febasi Auth is hierarchical RBAC with permissions in scope:action format. This topic is the operational counterpart to the Authorization concept: how to create roles, assign them, grant individual permissions, and check effective access.

The model in three sentences

  • Permissions are scope:action strings (users:create, roles:assign, …) and live in the central catalog.
  • Roles bundle permissions and carry a hierarchy level — a higher-level actor can manage lower-level roles, never the inverse.
  • Users inherit permissions through assigned roles and may also receive individual permissions that override or extend role grants.

Effective permissions are baked into the access token on /login and /refresh, so most authorization checks happen statelessly against the JWT. A live database check is available for the cases where freshness matters.

What's in this topic

On this page