Authorization

Role-based permissions per collection and global, with field-level access

Community 182 895/wk MIT v1.0.16

Installation

pnpm add @shefing/authorization

About

Authorization lets you define custom roles in Payload and decide who can read, write or publish each collection and global. Roles are attached to users, so editors, writers and reviewers each get the access they need without changes to your access functions. Permissions can be limited to specific fields, so a role can see a article's title and summary while the rest of the document stays hidden. A built-in Administrator role gives full access, and a generator role lets a user produce static content without drawing on the live API.

Package info

Package name
@shefing/authorization
Latest version
1.0.16
Unpacked size
114 kB
License
MIT
Weekly downloads
895
Last publish
Aug 18, 2026

More from shefing

View profile

Records who created, edited and published each document in collections and globals

Adds row-based quick filters above collection lists in the admin panel

Attribute-based access control that limits Payload documents by user attributes

Adds a Changes button that diffs unsaved or draft edits against the published version

Adds updated-at and updated-by details to the Payload version history view

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