The Soft Locking module provides concurrent editing capabilities. Multiple editors can edit pages simultaneously and coordinate their activities within the authoring interface. Soft locking differs from JCR hard locking in that it stores information about who is editing content and this information is displayed as a warning to other users editing the same page. Whereas hard locking would prevent another user from editing the page, soft locking provides multiple-user access to content and facilitates efficient content contribution.

Installing

Maven is the easiest way to install the module. Add the following to your bundle:

<dependency>
  <groupId>info.magnolia</groupId>
  <artifactId>magnolia-module-soft-locking</artifactId>
  <version>3.1.3</version>
</dependency>

Pre-built jars are also available for download. See Installing a module for help.

Working together

The number of concurrent editors is displayed at the bottom of the page editor. Click the icon to see who is editing the same page.

You get a notification when another user starts to edit the same page:

When the other user leaves:

And when the other user saves their changes:

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))