2017 © Pedro Peláez
 

silverstripe-module silverstripe-editlock

Prevents a CMS user from editing a record that another CMS user is currently editing

image

sheadawson/silverstripe-editlock

Prevents a CMS user from editing a record that another CMS user is currently editing

  • Sunday, July 23, 2017
  • by sheadawson
  • Repository
  • 3 Watchers
  • 28 Stars
  • 17,422 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 4 Versions
  • 9 % Grown

The README.md

SilverStripe Edit Lock

Requirements

  • SilverStripe ~3.1

Maintainers

  • shea@silverstripe.com.au

Description

Prevents a CMS user from editing a record that another CMS user is currently editing, to avoid change conflicts/data loss., (*1)

Screenshot, (*2)

Installation

Download this module into the root of your project. The module folder must be named "editlock". Run dev/build., (*3)

Composer: require "sheadawson/silverstripe-editlock": "1.0.x"

Usage

The module will take effect on any DataObject's standard CMS edit form out of the box. A locked object will display a readonly version of the edit form and a message explaining why it's locked and who is editing it. Editing will be re-enabled a maximum of 15 seconds after the original editor has navigated away from the edit form., (*4)

If you need to restrict locking to only specific data classes, you can specify these in your yml config as below., (*5)

EditLockControllerExtension: lockedClasses: - 'BlogPost' - 'Article', (*6)

Edit anyway override

Users with the "edit anyway" permission are given the option to override the lock and edit the record anyway, after being made aware of the risks. This permission can be applied to user groups in the Security section of the CMS., (*7)

The Versions

23/07 2017

dev-master

9999999-dev http://github.com/sheadawson/silverstripe-editlock

Prevents a CMS user from editing a record that another CMS user is currently editing

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

silverstripe lock edit checkout

19/12 2016

1.0.x-dev

1.0.9999999.9999999-dev http://github.com/sheadawson/silverstripe-editlock

Prevents a CMS user from editing a record that another CMS user is currently editing

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

silverstripe lock edit checkout

19/12 2016

1.0.1

1.0.1.0 http://github.com/sheadawson/silverstripe-editlock

Prevents a CMS user from editing a record that another CMS user is currently editing

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

silverstripe lock edit checkout

07/03 2014

1.0.0

1.0.0.0 http://github.com/sheadawson/silverstripe-editlock

Prevents a CMS user from editing a record that another CMS user is currently editing

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

silverstripe lock edit checkout