Skip to main content

A new specific permission that allows unlock of Plone contents

Project description

Change default Plone behavior in locking documents management: add a new (specific) permission instead of relying onto the modify permission.

Introduction

Plone has a native locking protection given bt the plone.locking module but, as said in the documentation, users able to modify a document can always steal the lock.

How this works

This add-on adds a new different permission for locking: collective.filteredlocking: Can unlock objects.

Users without this permission will be not able to unlock the document until it’s released by the owner or lock expires.

Credits

Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

2.0.0 (2022-07-15)

  • Python 3 support. Dropped support for Python 2.7 and Plone < 5.2. [reflab]

1.2.0 (2014-05-15)

  • Fix to egg format [keul]

  • Proper package dependencies [keul]

  • Removed useless GS profiles [keul]

  • Do not rewrite the whole TTWLockable code, but inherit from Plone default ones [keul]

  • Pyflakes cleanup [keul]

  • Default permission will now replicate default Plone behavior (edit can release locks) [keul]

  • A user can always remove his own lock. This prevent strange behavior where users lockout others because they don’t have the proper permission [keul]

  • Added support for Site Administrator role [keul]

  • Added tests suite

1.1.0 (2013-06-24)

  • z3c.autoinclude

1.0.0 - Unreleased

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.filteredlocking-2.0.0.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file collective.filteredlocking-2.0.0.tar.gz.

File metadata

  • Download URL: collective.filteredlocking-2.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.7

File hashes

Hashes for collective.filteredlocking-2.0.0.tar.gz
Algorithm Hash digest
SHA256 14761e2557ab378d241ae8102d17385104d6f9760549b240ff46d376d7a1d830
MD5 2e3ffe91c1c6b43d5f2f80ca10ee812e
BLAKE2b-256 1ca644031f7a890201ca9fdcd2a0a6fcddf4d1b68e414aaf5a6f3bccf4003a13

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page