Birth month and year check at sign-up that flags minors by country and region
Default Roles
Gives chosen roles default access to every collection
Installation
pnpm add @orelo/payload-default-roles About
Default Roles sets sensible access rules across a Payload project without writing them collection by collection. Each collection gets create, read, update, delete, version read and unlock permissions for the roles you list, and the default is admin and executive users. Collections you name are left untouched, so they keep their own access rules. Any access rule a collection already defines takes precedence over the plugin's defaults. The plugin checks that the users collection has a role field and stops with an error if it does not, so it works only with a user setup that already tracks roles.
Package info
- Package name
@orelo/payload-default-roles- Latest version
0.0.6- Unpacked size
- 8 kB
- License
- MIT
- Weekly downloads
- 12
- Last publish
- Dec 1, 2022
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