Role Consolidation Architecture
This document describes the current role model and how access is resolved in Image Factory.
Core Model
- System-level roles are the source of truth.
- Tenant groups map users to roles within a tenant context.
- Permissions are attached to roles and evaluated at request time.
Role Resolution Flow
- User logs in.
- Tenant context is selected.
- System role is resolved via tenant group membership.
- Permissions are evaluated for the requested resource/action.
Data Tables
rbac_rolestenant_groupsgroup_memberspermissionsrole_permissionsuser_role_assignments(not used in current flow)