Soft Locking module
Collaboration and workflow Bundled: DX Core
Edition | DX Core |
---|---|
License |
|
Issues |
|
Maven site |
|
Latest |
4.0.0 |
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.
Module structure
artifactID | |||
---|---|---|---|
|
Parent reactor. |
||
|
Main module containing the implementation as well as the integration functions for the Pages app. |
||
|
Submodule containing the Soft Locking compatibility module.
Bundled in
|
Installing with Maven
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency>
<groupId>info.magnolia.soft-locking</groupId>
<artifactId>magnolia-soft-locking</artifactId>
<version>4.0.0</version> (1)
</dependency>
1 | Should you need to specify the module version, do it using <version> . |
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.
If users leave the page or new users start editing the page, the icon showing currently active users is updated accordingly. Additionally, notification messages are displayed in certain situations:
-
When another user saves their changes.
-
If the page is moved.
-
If the page is deleted.
When multiple people edit the same dialog simultaneously, the last change made by any editor overrides all previous changes. For example, Jane and Eric open a dialog to update page content, making changes concurrently. Jane is the last person to save changes, so her changes overwrite those from Eric. |