semitexa / rbac
Semitexa RBAC - role-based access control with roles, grants, and permission assignment
2026.04.05.0855
2026-04-04 11:29 UTC
Requires
- php: ^8.4
- semitexa/authorization: *
- semitexa/core: *
This package is auto-updated.
Last update: 2026-04-05 09:00:34 UTC
README
Role-based access control with roles, capability grants, and per-request decision caching.
Purpose
Implements the GrantResolverInterface from Authorization. Resolves capabilities and permissions for authenticated subjects by querying role assignments and caching decisions per request.
Role in Semitexa
Depends on semitexa/core and semitexa/authorization. Delegates to PermissionProviderInterface implementations (e.g., semitexa/platform-user) for backend storage of role assignments and permission grants.
Key Features
SubjectGrantResolverresolves grants from role assignmentsCapabilityRegistrywith auto-discoveryRbacDecisionCachefor per-request cachingPermissionProviderInterfacedelegates to backend storage- Pluggable grant resolution chain