Simple RBAC
Enables role-based access control in Payload CMS.
Installation
pnpm add @nouance/payload-simple-rbac About
Simple RBAC is a plugin for Payload CMS that facilitates basic role-based access control. Users can define a set of roles prioritized in an array, where the roles at the end of the array have the highest priority. This structure allows for flexible permissions: for instance, an 'admin' can perform all actions of an 'editor', while restricting the editor to their assigned tasks. To use this plugin, it needs to be added to the Payload configuration under the plugins array. Users must specify roles, user slugs, and collections along with their permissions. Options include defining a default role, customizing the role field name, and specifying permissions for different collections. The plugin supports customizable permissions like 'read' access to published content only, or public access for any user. The plugin is still in beta and requires further testing. It includes basic functions for role checking and managing access to fields within collections.
Package info
- Package name
@nouance/payload-simple-rbac- Latest version
0.2.0- Unpacked size
- 31 kB
- License
- MIT
- Weekly downloads
- 24
- Last publish
- Apr 17, 2023
More from NouanceLabs
View profileIframe Tabs
Add iframes into separate tabs in the Payload admin panel.
Better Fields
This plugin provides improved fields for the admin panel in Payload.
Meilisearch
Syncs Payload CMS collection documents to a Meilisearch index via afterChange and afterDelete hooks.
Dashboard Analytics
Adds Plausible and Google Analytics widgets to the Payload admin dashboard, navigation, collections and globals.
Similar plugins
More in AuthMagic Login
A Magic Login plugin for Payload CMS that simplifies user authentication.
RBAC
Adds role-based access control to your Payload CMS.
reCAPTCHA v3
This plugin protects Payload collection operations using Google reCAPTCHA v3.
OIDC plugin
Integrate OpenID Connect authentication into Payload CMS.
Gatekeeper
Adds role-based access control to Payload CMS v3 with wildcard permissions, auto-generated permissions per collection, and a managed Roles collection.
Auth0 integration
Integrates Auth0 authentication with Payload CMS.