RBAC

Role-based access control with permissions managed in the Payload admin panel

Community 10 37/wk MIT v1.3.0

Installation

pnpm add @zealamic/payload-plugin-rbac

About

RBAC is a role-based access control plugin for Payload that moves permission rules out of code and into the admin panel. Features, actions and the permissions that pair them are stored as records, and each role is assigned a set of those permissions. A user can hold several roles, and their access is the combined set of everything those roles grant.

Administrators use a matrix in the role editor to check which actions each role can perform on each feature. A data scope setting limits a role to records the user owns, records within their hierarchy, or all records. Access helpers attach these rules to collections, so permission changes made in the admin panel apply without redeploying code.

Package info

Package name
@zealamic/payload-plugin-rbac
Latest version
1.3.0
Unpacked size
478 kB
License
MIT
Weekly downloads
37
Last publish
Jul 3, 2026

Similar plugins

More in Auth

Birth month and year check at sign-up that flags minors by country and region

Lets one Payload admin panel manage content for many separate tenants

Linked accounts and role hats, with a second factor before switching to a sensitive role

Sells digital products with signed download links that expire and stop on refund

Adds passkey sign-in and passkey management to the Payload login and account screens

Lets AI assistants read and edit Payload content over MCP with scoped API keys