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!

Define local roles settings by dexterity type

Project Description


Allow to define local roles settings by dexterity type.

A new configuration page is added as a new tab on a dexterity type configuration.

You can now define for each state which principal will receive some local roles automatically.

By example:

  • on the “pending” state, the “stephen” user will receive the following role: Reviewer.
  • on the “published” state, the ‘editors’ group will receive the following roles: Editor, Reviewer.

Those automaticaly given roles cannot be manually removed by the “sharing” tab (read only, as inherited roles).

This package is a base for dexterity.localrolesfield that adds a field to define the principal.


  • Add dexterity.localroles to your eggs.
  • Re-run buildout.
  • Done.


Have an idea? Found a bug? Let us know by opening a ticket.


This package is tested using Travis CI. The current status of the add-on is :


  • IMIO, Original Author


1.2 (2017-05-30)

  • Refactored utils method [sgeulette]
  • Added method to delete related uid annotation. [sgeulette]

1.1 (2016-04-18)

  • Useless subscriber removed. [sgeulette]

1.0 (2015-11-24)

  • Use only local roles in vocabulary. [sgeulette]
  • Store all configuration in one fti attribute ‘localroles’. Useful for dexterity.localrolesfield to avoid a field name is an existing attribute [sgeulette]
  • Add a related field to store a text configuration that will be used to set related objects local roles. [sgeulette]
  • Add related search utility [sgeulette]
  • Change related local roles on transition, on addition, on removal, on moving, on configuration changes [sgeulette]
  • Add an adapter for related local roles [sgeulette]
  • Simplify code [sgeulette]

0.2 (2015-06-02)

  • Avoid exception on site deletion [sgeulette]

0.1 (2014-10-24)

  • Various improvements [mpeeters, sgeulette]
  • Added tests [sgeulette]
  • Some improvements [sgeulette]
  • Add validation on configuration view [mpeeters]
  • Add localroles configuration view [mpeeters]
  • Add an adapter for borg.localrole [mpeeters]
Release History

Release History

This version
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
dexterity.localroles-1.2.tar.gz (31.9 kB) Copy SHA256 Checksum SHA256 Source May 30, 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