semitexa / rbac
Semitexa RBAC - role-based access control with roles, grants, and permission assignment
Requires
- php: ^8.4
- semitexa/authorization: *
- semitexa/core: >=2026.11.04.1744 || dev-master
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2026.11.06.0513
- 2026.10.29.1052
- 2026.10.08.0620
- 2026.09.27.0404
- 2026.09.08.2003
- 2026.08.04.2028
- 2026.06.21.0352
- 2026.05.08.1640
- 2026.04.26.0639
- 2026.04.12.1209
- 2026.04.07.1133
- 2026.04.05.0855
- 2026.04.03.1349
- 2026.04.03.1240
- 1.0.5
- v1.0.4
- 1.0.2
- dev-develop
- dev-review/package-metadata-20260323
This package is auto-updated.
Last update: 2026-11-06 07:48:37 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 for the storage of role assignments and permission grants. semitexa/platform-user ships one: stored roles assigned with role:create / role:assign (StoredRolePermissionProvider); a project can add its own, and their grants add up.
Key Features
SubjectGrantResolverresolves grants from role assignmentsCapabilityRegistrywith auto-discoveryRbacDecisionCachefor per-request cachingPermissionProviderInterfacedelegates to backend storage- Pluggable grant resolution chain