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.
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
Metadata
Release files for collective.filteredlocking 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| collective.filteredlocking-2.0.0.tar.gz | 4.9 kB | Details |
Release files / collective.filteredlocking-2.0.0.tar.gz
| Download URL | collective.filteredlocking-2.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14761e2557ab378d241ae8102d17385104d6f9760549b240ff46d376d7a1d830
|
|
BLAKE2b-256 checksum How to use checksums |
1ca644031f7a890201ca9fdcd2a0a6fcddf4d1b68e414aaf5a6f3bccf4003a13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|