RBAC

Database-stored roles and a permissions matrix that gate every collection and global

Community 0 11/wk MIT v0.2.1

Installation

pnpm add @sittari/payload-rbac

About

RBAC stores roles in the database and controls what each user can do with every collection and global. Editors manage roles in the admin panel with a checkbox grid of Create, Read, Update and Delete for each collection, plus a full access toggle that also covers collections added later. Access rules you write yourself on a collection are kept as they are.

A user's permissions are the union of their roles. Nobody can hand out a role or permission their own roles do not cover, and the last administrator cannot lose the administrator role. Only administrators can edit other administrators, and password or email changes on accounts with roles are limited to the account owner.

Package info

Package name
@sittari/payload-rbac
Latest version
0.2.1
Unpacked size
241 kB
License
MIT
Weekly downloads
11
Last publish
Sep 11, 2026

More from sittari-studio

View profile

Adds a URL slug field to Payload collections, filled from the title field

Locale-aware SEO fields, metadata resolution, robots, redirects and sitemaps

Adds WordPress-style permalinks and canonical paths to Payload collections

Link field with a drawer editor and Lexical link feature

Managed template documents that editors can fill in but cannot create or delete

Localized UI strings global with per-scope admin tabs and fallback translations

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