punktde/editconflictprevention

Last activity 23 Aug 2023 13 1 15614
composer require punktde/editconflictprevention

Prevents edit conflicts when multiple editors are working on the site by either warn the user or deny editing.

1.0.0

Version
1.0.0
Type
neos-package
Release Date
Jul 08, 2022 08:34
Source
git
Distribution
zip
Requires
MIT 21bf49077a8be0cd27e22b64e58e63506112d4a1

PunktDe.EditConflictPrevention

Build Status Latest Stable Version Total Downloads License

This package helps preventing edit conflicts when several editors are working on content simultaneously.

Information about changes of the current document in other workspaces

When changes in other workspaces exist on the same document, a warning is displayed in the upper toolbar.

Edit conflict warning Clicking that warning opens a modal, showing a list of changed nodes and where they have been changed. Contact information from Neos Party is displayed to make it easier to communicate.

Edit conflict details

Prevent the editor to do conflicting changes

There are also privilege targets available which prevents editing a document and all containing content nodes when changes in other workspaces are detected. To prevent an editor from editing such pages, add the following privilege configuration to your Policy.yaml

roles:
  'Neos.Neos:AbstractEditor':
    privileges:
      -
        privilegeTarget: 'PunktDe.EditConflictPrevention.EditNodeWithChangesInOtherWorkspaces'
        permission: DENY
      -
        privilegeTarget: 'PunktDe.EditConflictPrevention.EditNodePropertiesWithChangesInOtherWorkspaces'
        permission: DENY

Installation

$ composer require punktde/editconflictprevention  

Configuration

excludedDocumentTypes: List the document types here, that you like to exclude from detecting conflicts.

The content of the readme is provided by Github
The same vendor provides 33 package(s).