RBAC
Adds role-based access control to your Payload CMS.
Installation
pnpm add payload-rbac About
This plugin provides an easy way to implement role-based access control in your Payload CMS. It allows you to define roles like 'reader', 'maintainer', and 'admin', and to control access based on these roles. Users can be restricted from accessing resources based on their assigned role, enhancing the security and management of user permissions. You can configure it by adding a simple setup in the Payload config file, specifying which collections will utilize RBAC and what roles are available. The plugin also offers a range of access control functions such as allowing anonymous access, allowing access to any logged-in user, or filtering access based on specific conditions like published status. This flexibility supports various access management scenarios across applications. The plugin requires Payload version 1.6.22 or later and integrates directly with the Payload's collection and user management systems, making it a powerful addition for applications needing structured access control.
Package info
- Package name
payload-rbac- Latest version
1.0.3- Unpacked size
- 39 kB
- License
- MIT
- Weekly downloads
- 74
- Last publish
- Apr 18, 2023
More from teunmooij
View profileSimilar plugins
More in AuthGoogle One Tap
Adds Google One Tap sign-in to the Payload admin login page using OAuth credentials.
Default Roles
Applies default role-based access control to every Payload collection, granting CRUD access to specified roles such as admin and executive.
Warding
RBAC plugin that generates user and role collections and injects fine-grained access control across Payload collections, globals, fields, and endpoints.
Simple RBAC
Enables role-based access control in Payload CMS.
Magic Login
A Magic Login plugin for Payload CMS that simplifies user authentication.
reCAPTCHA v3
This plugin protects Payload collection operations using Google reCAPTCHA v3.