semitexa / rbac
Semitexa RBAC - role-based access control with roles, grants, and permission assignment
Requires
- php: ^8.4
- semitexa/authorization: *
- semitexa/core: >=2026.09.27.0404 || dev-master
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-08 18:19:29 UTC
README
Role-based access control with roles, capability grants, and per-request decision caching.
Install
Included in every project created by the installer (https://semitexa.com/install.sh).
Purpose
Implements SubjectGrantResolverInterface from semitexa/authorization (SubjectGrantResolver). 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 and CapabilityProviderInterface implementations, which the application provides, for the storage of role assignments and permission grants. No Semitexa package ships a PermissionProviderInterface implementation.
Key Features
SubjectGrantResolverresolves grants from role assignmentsCapabilityRegistrywith auto-discoveryRbacDecisionCachefor per-request cachingPermissionProviderInterfacedelegates to backend storage- Pluggable grant resolution chain