Zedkit Access

Role-based access grants compiled into Payload collection and global access functions

Community 0 28/wk MIT v0.1.1

Installation

pnpm add @zedtech/zedkit-payload-access

About

Zedkit Payload Access lets you describe who may read, create, update or delete each collection and global as plain data. It then turns those grants into the access functions Payload checks on every request. You define the roles and the grants yourself, since nothing is built in.

Access is denied by default. A request passes only when a grant matches its role, resource, name and action, and a wildcard name covers collections added later. Anonymous visitors fall under a public role that you can rename, and a signed-in user's role is read from the user record. Access functions you have already written by hand are left alone.

Package info

Package name
@zedtech/zedkit-payload-access
Latest version
0.1.1
Unpacked size
381 kB
License
MIT
Weekly downloads
28
Last publish
Nov 8, 2026

More from zedtech-fr

View profile

Localized SEO group field with meta tags, Open Graph fields and length checks

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