Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Locking integration for dexterity content objects.

Project Description

The ```` package provides a ``plone.locking`` integration
for dexterity.


Just use the behavior ```` in
your dexterity content type. Also check the condition of the "edit" action
of your type, it should check if the object is locked.

In your *profiles/default/types/YOURTYPE.xml* add the behavior and the
edit action::

<?xml version="1.0"?>
<object name="example.conference.presenter" meta_type="Dexterity FTI"
i18n:domain="example.conference" xmlns:i18n="">

<!-- enabled behaviors -->
<property name="behaviors">
<element value="" />

<action action_id="edit"
<permission value="Modify portal content"/>


The ILocking behavior enables locking support for your content type. This adds
the ``ITTWLockable`` interface from ``plone.locking``. The locking viewlet
from ```` is also working for the dexterity content type.

More Information



1.0.5 (2017-02-12)

Bug fixes:

- Add coding header on python files.
- Unskip test for Zope 4, as isolation problems are already fixed.

1.0.4 (2016-05-02)


- Add behavior short name.

1.0.3 (2016-02-20)


- Use a functional layer to resolve test isolation problems.

- Refactor doctest to an integration test and skip it for Zope 4 due to isolation problems.

- Changed i18n_domain to "plone".
Requires 4.3.9 or higher.

1.0.2 (2015-09-09)

- Remove superfluous 'for'.

- Fix tests: redirect was changed in commit e7367258.

- If the content is locked, the redirect points to the default view and
not to the absolute_url of the object. It avoids image opening on redirect

1.0.1 (2011-12-06)

- Fix version requirement of plone.dexterity: 1.1 is compatible.

1.0 (2011-11-27)

- Fixed problem: locks were not released when editing content and saving
it without changing anything. Fixed by using new IEditFinishedEvent instead
of IObjectModifiedEvent.

- Fixed problem which caused widget traversal to fail.
The edit form is now protected for non-anonymous user, since locking for
anyonmous users does not work anyway.

- Initial implementation
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (12.2 kB) Copy SHA256 Checksum SHA256 Source Feb 12, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting