rbac library

Classes

MongoRbacProvider
RbacProvider backed by the MongoDB Atlas Data API.
Permission
An immutable, namespaced permission token.
RbacContext
Captures the RBAC state for the currently authenticated user.
RbacGate
A widget that conditionally renders its child based on the current user's RBAC permissions.
RbacPolicy
Manages the full set of Roles and their Permissions.
RbacProvider
Abstract backend for loading and mutating user role assignments.
RbacService
Singleton state holder for the current user's RBAC context.
Role
An immutable role that bundles a set of Permissions.