Positions

Dated, scoped role grants for sites, organizations and projects, with an audit trail

Community 0 686/wk MIT v0.2.2

Installation

pnpm add @extantape/payload-plugin-positions

About

Positions lets a Payload project grant people a role that applies to one scope, such as a single site, organization or project, and end that grant on a set date. The host defines the position types and who may grant each one, and the grant table records who holds what, where, and for how long.

Every grant, pause, revoke and expiry is written to a history table inside the same database transaction as the change, so a failed history write also undoes the change. A host hook can refuse a grant for any reason, for example to keep certain accounts out of certain positions. Helpers check whether a user holds a position at a given scope right now, and a scheduled job can mark ended grants as expired.

Package info

Package name
@extantape/payload-plugin-positions
Latest version
0.2.2
Unpacked size
73 kB
License
MIT
Weekly downloads
686
Last publish
Nov 28, 2026

More from ExtantApe

View profile

Lets admins sign in as another user to see exactly what that user sees

Syncs Printify print-on-demand products and orders with a Payload ecommerce store

Patreon-style memberships and category pledges billed as Stripe subscriptions

Curated YouTube creator playlists with per-channel rules and a curator review queue

Finds access control and security holes in a Payload site, with severity-ranked alerts

Adds organizations with member levels, approvals and domain checks

Similar plugins

More in Auth

Sign-up with open, approval, invite-only or closed modes, switchable in the admin

Shared CMS setup for Pebble sites: users and roles, R2 media, signed cache purge and previews

Lets users and organizations share records under host-defined access rules