Birth month and year check at sign-up that flags minors by country and region
Access Control
Role-based access control with a permission matrix, roles collection and admin panel gate
Installation
pnpm add payload-access-control About
Access Control gives a Payload project a Roles collection where each role gets a checkbox grid for read, create, update and delete on every collection and global. Users can hold several roles, and their grants combine. Collections without their own access rules are closed to anyone without a grant, so bare collections do not fall back to public reads.
Editors with no role cannot open the admin panel, and a superuser flag bypasses every check. Ready-made access functions cover common patterns such as owner-or-admin edits and public-or-granted reads, and a custom check can be built on the same permission lookup.
Package info
- Package name
payload-access-control- Latest version
1.0.1- Unpacked size
- 26 kB
- License
- MIT
- Weekly downloads
- 6
- Last publish
- Sep 26, 2026
Similar plugins
More in AuthLets 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