semitexa/rbac 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

semitexa/rbac

最新稳定版本:2026.05.08.1640

Composer 安装命令:

composer require semitexa/rbac

包简介

Semitexa RBAC - role-based access control with roles, grants, and permission assignment

README 文档

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

  • SubjectGrantResolver resolves grants from role assignments
  • CapabilityRegistry with auto-discovery
  • RbacDecisionCache for per-request caching
  • PermissionProviderInterface delegates to backend storage
  • Pluggable grant resolution chain

统计信息

  • 总下载量: 76
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 10
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-20