Dynamic RBAC

Database-backed roles and permissions with row-level conditions managed in the admin

Community 6 54/wk MIT v1.1.0

Installation

pnpm add payload-rbac-plugin

About

Dynamic RBAC replaces hard-coded role checks with permissions that admins manage in the admin panel. Roles and permissions are stored in the database, so access rules can change without a code deploy. Each role is linked to the users collection, and the role travels with the user's session for quick checks.

A bulk generator creates create, read, update and delete permissions for a collection in one step. Permissions can carry conditions that filter documents to the current user, such as only the records they created. Developers can add their own fields to roles and permissions and limit who sees the role and permission screens.

Package info

Package name
payload-rbac-plugin
Latest version
1.1.0
Unpacked size
91 kB
License
MIT
Weekly downloads
54
Last publish
Jun 8, 2026

More from Mhmod-Hsn

View profile

Moves frontend translation keys into the Payload database for editors to manage

Recipient-scoped notification inbox with optional live updates

Adds icons, custom groups and custom links to the Payload admin sidebar

Adds GitHub, Google, Facebook, Twitter and LinkedIn sign-in to the Payload login page

Similar plugins

More in Auth

Lets admins sign in as another user to see exactly what that user sees

Finds access control and security holes in a Payload site, with severity-ranked alerts

Adds organizations with member levels, approvals and domain checks

Sign-up with open, approval, invite-only or closed modes, switchable in the admin

Dated, scoped role grants for sites, organizations and projects, with an audit trail

Shared CMS setup for Pebble sites: users and roles, R2 media, signed cache purge and previews