Roles

Per-site role ladders with add-on and platform roles for multi-tenant access checks

Community 0 305/wk MIT v0.1.1

Installation

pnpm add @extantape/payload-plugin-roles

About

Roles Plugin gives multi-tenant Payload sites a ladder of roles per site, such as Member, Author, Curator and Administrator. A higher role covers everything below it, so you check for a minimum level instead of maintaining a permission matrix. Each site can rename its roles, for example calling Curator "Editor" on one site, without changing what the role allows.

Platform roles cover staff who work across every site, and add-on roles grant only the specific extras you check for. A role on one site never grants access on another. The access helpers return Payload access constraints limited to the tenants a user belongs to, and the plugin works alongside Payload's multi-tenant plugin.

Package info

Package name
@extantape/payload-plugin-roles
Latest version
0.1.1
Unpacked size
15 kB
License
MIT
Weekly downloads
305
Last publish
Nov 13, 2026

More from ExtantApe

View profile

Birth month and year check at sign-up that flags minors by country and region

Linked accounts and role hats, with a second factor before switching to a sensitive role

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Browses large nested document trees one level at a time with live counts

Stores DNA reference panels and reviewed sample results in Payload collections

Studbook numbers, kinship and inbreeding analysis for managed animal populations

Similar plugins

More in Auth

Lets one Payload admin panel manage content for many separate tenants

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