Skip to main content

Overview

Provides basic automatic locking support for Plone. Locks are stealable by default, meaning that a user with edit privileges will be able to steal another user’s lock, but will be warned that someone else may be editing the same object. Used by Plone, Archetypes and plone.app.iterate

Version Information

  • 3.x -> Plone 6.0+ only

  • 2.3.x -> used in Plone 5+ (not compatible with earlier Plone versions)

  • 2.0.x -> used by Plone 4.x (but may also be compatible with earlier versions).

  • Versions 1.x are used by Plone 3.

Changelog

4.0.0 (2026-05-16)

Internal:

  • Update configuration files. [plone devs]

4.0.0a3 (2025-11-19)

Breaking changes:

  • Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. (#3928)

Internal:

  • Update configuration files. [plone devs]

4.0.0a2 (2025-09-24)

Internal:

  • Move distribution to src layout [gforcada] (#4217)

4.0.0a1 (2025-09-10)

Breaking changes:

  • Moved plone.locking.browser.info.LockInfoViewlet template to plone.app.layout.viewlets. [cihanandac] (#3953)

Internal:

  • Update configuration files. [plone devs]

3.0.2 (2025-01-24)

Bug fixes:

  • Fix DeprecationWarnings. [maurits] (#4090)

3.0.1 (2024-01-22)

Internal:

  • Update configuration files. [plone devs] (6e36bcc4, 7723aeaf)

3.0.0 (2023-04-16)

Breaking changes:

  • Drop python 2.7. (#1)

New features:

  • Update the info viewlet css classes to Bootstrap 5. [ewohnlich] (bs5)

Internal:

  • Update configuration files. [plone devs] (234bb1d6, 5cc689e5)

2.3.0 (2023-02-08)

Bug fixes:

  • Update to Zope4 only including troove classifiers. [jensens] (#19)

2.2.5 (2021-10-09)

Bug fixes:

  • Register a fallback @@plone_lock_info view to allow objects without plone.locking behavior to be edited. [ericof] (#3331)

2.2.4 (2020-04-20)

Bug fixes:

  • Minor packaging updates. (#1)

2.2.3 (2018-09-27)

Bug fixes:

  • More Python 2 / 3 compatibility fixes. [thet]

2.2.2 (2018-02-05)

Bug fixes:

  • Update tests to not use plone.app.testing.bbb code. This should avoid test isolation problems. [gforcada]

2.2.1 (2018-02-02)

Bug fixes:

  • Add Python 2 / 3 compatibility [pbauer]

2.2 (2017-06-08)

New features:

  • All LockingOperations method can optionally redirect to the context view [ale-rt]

Bug fixes:

  • Test fix: Use print in doctest (Python 3/ Zope 4 compat) [MatthewWilkes]

2.1.3 (2016-09-09)

New features:

  • Update README.rst with Compatibility [djowett]

2.1.2 (2016-08-15)

Fixes:

  • Use zope.interface decorator. [gforcada]

2.1.1 (2015-10-27)

New:

  • Use registry lookup for types_use_view_action_in_listings [esteele]

  • Locks stored on annotations are a safe write on read. [gforcada]

2.1.0 (2015-09-07)

  • Pull lock_on_ttw_edit setting from the configuration registry [esteele]

2.0.8 (2015-07-20)

  • Fix write on read CSRF issues with latest plone.protect [vangheem]

2.0.7 (2015-06-05)

  • Fix possible package problem with Python 2.6 and old setuptools (at least 0.6c11) not finding the README.txt. [maurits]

2.0.6 (2015-06-05)

  • Pep8. [vangheem]

2.0.5 (2014-10-20)

  • Adding “create_lock” to “plone_lock_operations” [hman]

  • The locking timeout is now modifiable through LockType definition [parruc]

  • Ported to plone.app.testing [tomgross]

2.0.4 (2012-10-20)

2.0.3 (2012-01-04)

  • Check if context is not joined to zodb connection for transaction where lock is added. [fafhrd91]

2.0.2 (2011-11-29)

2.0.1 - 2011-05-12

2.0 - 2010-07-18

  • Define all package dependencies. [hannosch]

  • Update license to GPL version 2 only. [hannosch]

1.2.1 - 2010-07-01

  • Load the cmf.* permissions from Products.CMFCore. [hannosch]

1.2.0 - 2009-03-04

  • Added IRefreshableLockable interface and TTWLockable implementation. [davisagli]

  • Changed default lock timeout to 10 minutes. [davisagli]

1.1.0

  • Clarified license and copyright statements. [hannosch]

  • Declare test dependencies in an extra. Avoid dependency on Plone. [hannosch]

  • Specify package dependencies. [hannosch]

  • Fix missing internationalization (#8609 thanks to Vincent Fretin) [encolpe]

1.0.5 - 2008-01-03

1.0 - 2007-08-17

  • Initial release.

Release files for plone.locking 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plone.locking 4.0.0
File Size Uploaded
plone_locking-4.0.0.tar.gz 23.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plone.locking 4.0.0
File Interpreter ABI Platform
plone_locking-4.0.0-py3-none-any.whl Python 3 none any Details

Total release size:38.7 kB

Release files / plone_locking-4.0.0.tar.gz

Download URL plone_locking-4.0.0.tar.gz
Size 23.3 kB
Tags Source
SHA-256 checksum
How to use checksums
92a888b20a0505f4d3e33b36664355e86c74a46c028fa96193b032aaaba9da9f
BLAKE2b-256 checksum
How to use checksums
71530fdebdf4ebba43b9e5f6c1b97a039fd53222b074682715e25cfbe90ede32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / plone_locking-4.0.0-py3-none-any.whl

Download URL plone_locking-4.0.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e8c49de2d6d7124d8b53ebdbddfd4636bb5229f2d07277c21b161068a92e2ae
BLAKE2b-256 checksum
How to use checksums
a135b73f588786178a37bd0913d31a59d7a9bfcbc2877ee377984e9b0beaf1b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.3.0

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2

2 release files

2.1.3

1 release file

2.1.2

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.10

1 release file

2.0.9

1 release file

2.0.8

1 release file

2.0.7

1 release file

2.0.6

1 release file

2.0.5

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

2.0

1 release file

1.2.1

1 release file

1.2.0

2 release files

1.0.5

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page