Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module prevents multiple users from editing the same content simultaneously. It can be configured to lock specific content types or input formats, and users are warned if they try to edit content already being edited. The module can also remind users to unlock content they've forgotten about and allows administrators to manage all locks.

Features

  • Block concurrent editing: When a user is editing a node, any other user that attempts to edit the same node will be blocked from doing so, and notified that the content is already being edited.
  • By node type: This module can be configured to only lock certain content types against concurrent editing.
  • By format: This module can be configured to only lock specific input formats against concurrent editing.
  • Avoid forgotten locks: Users are notified if they forget to unlock a node. They will be prompted to click on a link to unlock the node.
  • Views integration: All open locks can be listed using Views.

Installation

  • Download and activate the module as normal.
  • Configure the user permissions:
    1. check out documents - This enables content locking when a user starts editing a node. Note that even without this permission, users are still able to edit contents, they're just not protected against concurrent edits.
    2. administer checked out documents - View and release locked contents of all users. This enables the administrative tab on Content management >> Content. Note that even without this permission, users can manage their own content locks on their profile page.

Goals

Safe content editing

The main goal is to be 100% safe. That means that under no circumstances should a user be able to edit a node that another user is already editing. It was a design decision to prefer a somewhat heavy-handed approach rather than risk removing a lock too early. For example, a user can only remove their lock using the save or the cancel buttons, as opposed to simply closing their browser window.

API

API documentation can be found at: content_lock.api.php.

User Reports

Please post to the issue queue to help make the module better. Feel free to provide patches and suggestions too.

Activity

Total releases
7
First release
Jun 2025
Latest release
3 weeks ago
Releases (12 mo)
5 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
3.0.0 Stable Jun 23, 2026
3.0.0-rc4 Pre-release Jun 17, 2026
3.0.0-rc3 Pre-release Jun 16, 2026
3.0.0-rc2 Pre-release Jun 13, 2026
3.0.0-rc1 Pre-release Jun 12, 2026
3.0.0-alpha4 Pre-release Jul 8, 2025
3.0.0-alpha3 Pre-release Jun 3, 2025