<div align="center">

# @voltro/plugin-rbac

**Role-based access control — roles compile to scopes on top of @voltro/protocol's scope system. Ships rbacPlugin() (role→scope interceptor + resource-aware guard resolver, failing with protocol's typed ScopeError), the permission()/assertPermission()/anyPermission() handler guards, the compileRoles() pure compiler, cross-dialect roles + userRoles tables. The UI gate lives in @voltro/client (useCan / useCanAny) — scopes are a framework concept, so gating a button must not require this plugin.**

[📖 Documentation](https://docs.voltro.dev/docs/plugins/rbac) · [voltro.dev](https://voltro.dev) · [Voltro Cloud](https://voltro.cloud)

</div>

---

```sh
npm install @voltro/plugin-rbac
```

> ### [→ Read the documentation for @voltro/plugin-rbac](https://docs.voltro.dev/docs/plugins/rbac)

Installation, guides, the full API reference, and examples all live in the
**[Voltro documentation](https://docs.voltro.dev/docs/intro/getting-started)** — the single source of truth. This README is
deliberately short so there is nothing here to drift out of date.

## License

Proprietary. © 2026 Voltro UG. Your use is governed by the
[Terms of Service](https://voltro.cloud/legal/terms). See the bundled `LICENSE`.
