Checkout (pessimistic locking)

joel_guesclin - September 21, 2005 - 15:39
checkout.png

Drupal's default locking strategy is optimistic, that is, whenever two users try to edit the same piece of content, the one hitting the save button first wins the race, while the other is displayed a message stating this content has been modified by another user, changes cannot be saved. Depending on the number of editors in your organization this might not be an acceptable solution.

The Checkout module implements pessimistic locking, which means that content will be exclusively locked whenever a user starts editing it. The lock will be automatically released when the user saves the content or moves away from the edit page.

If permission has been given, it is possible for users to keep a node checked out when they submit their changes; they can therefore be sure that their document is locked between sessions.

The ability to lock content is permission based. Documents that have been "forgotten" to check in can be automatically released through cron.

Dependencies

  • Crontab, if you wish to make use of automated check-ins. If your hoster doesn't give you access to cron take a look at Poormanscron.

Installation

Releases

Official releasesDateSizeLinksStatus
6.x-2.22008-Jul-1413.81 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-2.02008-Jul-1413.8 KBRecommended for 5.xThis is currently the recommended release for 5.x.
 
 

Drupal is a registered trademark of Dries Buytaert.