Content Lock

Maintenance windows that freeze collections and globals with 503 errors and a read-only admin

Community 6 184/wk MIT v0.1.0-beta.2

Installation

pnpm add @10x-media/content-lock

About

Content Lock puts a maintenance window on Payload content. While a window is active, writes to the chosen collections and globals fail with a 503 response on the REST API, GraphQL, the admin and server-side code. The admin turns read-only and shows a banner explaining why and until when.

Windows can start now or be scheduled ahead, and they end at a set time or by hand. Freezing can cover everything, named groups, or single collections, with public-facing writes exempted. Maintenance scripts such as migrations can still write through a lock. Full locks also pause background jobs.

Package info

Package name
@10x-media/content-lock
Latest version
0.1.0-beta.2
Unpacked size
507 kB
License
MIT
Weekly downloads
184
Last publish
Oct 1, 2026

More from 10x-media

View profile

Adds client-side undo and redo to Payload admin document forms

Gives each auth collection its own session cookie so admin and frontend logins coexist

Sends signed HTTP webhooks when Payload documents are created, updated or deleted

Opens collections, globals and admin views in a floating panel with shareable links

Ops dashboard, worker process and queue controls for the Payload jobs queue

Alternative simplified and step-by-step edit forms for Payload collections

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other