Skip to main content

Define local roles settings by dexterity type

Project description

Introduction

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 can be extended with dexterity.localrolesfield to define the principal in a content field.

Installation

  • Add dexterity.localroles to your eggs.

  • Re-run buildout.

  • Done.

Credits

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

Tests

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

https://api.travis-ci.org/IMIO/dexterity.localroles.png

Contributors

  • IMIO, Original Author

Changelog

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]

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

dexterity.localroles-0.2.zip (43.5 kB view details)

Uploaded Source

File details

Details for the file dexterity.localroles-0.2.zip.

File metadata

File hashes

Hashes for dexterity.localroles-0.2.zip
Algorithm Hash digest
SHA256 ee913b14be97025af45a732a51a2cf69da09aaae6bc812aa2fdb4c27968db18a
MD5 c4e8713f96aac86931e0e55dc48687b8
BLAKE2b-256 8cc508078a9605d0c837ad51551a680b873f7aeda7dcdb31794ccf3c3929d65a

See more details on using hashes here.

Supported by

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