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

Organizations and functions combinations to create plone groups

Project Description

Introduction

A Plone add-on that manage organizations and functions, leading to corresponding plone groups creation. This product makes the link between:

  • collective.contact.core : organization definition containing your organization services (multiple levels)
  • collective.dms.basecontent (LocalRolesToPrincipals field) : field presenting a list of services for which a local role can be given

How-to

First, create a directory in your site (object from collective.contact.core). This directory will contain all the informations related to your contacts.

You can then add your organization in it (with a specific id equal to ‘plonegroup-organization’). An organization can contain organizations (such as services, divisions or department).

In the collective.contact.plonegroup configuration panel, you have to :

  • select some services of your organization to be used in LocalRolesToPrincipals field
  • define some function labels that will be used in each selected organization

When submitting, for each organization - function combination, a plone group will be created with the id “organization-uid”_”function-id” and name “organizations-name” (“function-name”).

The generated plone groups will be used in LocalRolesToPrincipals field, where some local roles can be given to some function for each selected service.

Installation

  • Add collective.contact.plonegroup to your eggs.
  • Re-run buildout.
  • Install the product in your plone site.

Tests

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

Credits

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

Contributors

  • Gauthier Bastien, IMIO
  • Stéphan Geulette, IMIO
  • Vincent Fretin, Ecreall
  • Cédric Messiant, Ecreall
  • Frédéric Peters, Entr’ouvert

Changelog

1.8 (2017-09-18)

  • Corrected error when deleting site. [sgeulette]
  • Corrected group modification. Added migration step. [sgeulette]

1.7 (2017-07-25)

  • Check if linkintegrity is enabled in events. [sgeulette]

1.6 (2017-05-30)

  • Use manager role only if necessary to avoid “SystemError: Excessive recursion” when recataloging [sgeulette]
  • Protect against group deletion [sgeulette]
  • Corrected subscriber at object paste [sgeulette]

1.5 (2016-12-13)

  • Get selected organizations with manager role because plone.formwidget.masterselect calls ++widget++ as Anonymous. [sgeulette]

1.4 (2016-12-07)

  • Call only once a subscriber. [sgeulette]
  • Improved util method and added test [sgeulette]
  • Added method to get selected organizations with customized title [sgeulette]
  • Added methods to get orgs users and vocabulary [sgeulette]

1.3 (2016-04-15)

  • Use a stored cache key to invalidate cache on all zeo clients [sgeulette]

1.2 (2016-01-13)

  • Made an unrestricted search to list own organizations, possible reason of empty list [sgeulette]
  • Increase OrderedSelectWidget size to 15 lines. [sgeulette]
  • Use the same permission to protect config view and configlet. [sgeulette]

1.1 (2015-12-11)

  • Put title as unicode in vocabulary. [sgeulette]

1.0 (2015-11-24)

  • Added link integrity check when deleting a plonegroup organization [sgeulette]
  • Added marker interfaces to distinguish plonegroup organizations [sgeulette]
  • Added selected organizations vocabulary as elephantvocabulary: display correctly no more selected terms. [sgeulette]
  • Don’t deactivate a used plonegroup organization [sgeulette]
  • Check state to build OwnOrganizationServicesVocabulary. [cedricmessiant]
  • Set token to UID in OwnOrganizationServicesVocabulary. [sgeulette]
  • Give access to configlet to Site Administrator [sgeulette]
  • Flake8 corrections [sgeulette]

0.2 (2014-03-18)

  • Corrected Manifest to include all files.

0.1 (2014-02-13)

  • Initial release. [sgeulette]
Release History

Release History

This version
History Node

1.8

History Node

1.7

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.2

History Node

0.1

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
collective.contact.plonegroup-1.8.tar.gz (31.1 kB) Copy SHA256 Checksum SHA256 Source Sep 18, 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