Skip to main content

A Plone utility that make possible for non-Manager users to manage some (specific) groups

Project description

Introduction
============

Have you ever feel the need to give to normal (AKA: not Manager/Site Administrator ) Plone member the power to
manage a group?

Right now in Plone you can make this possible playin with the **Manage users** and **Manage Groups**.

Even playing with those permissions is impossible is to limit the group on which a member (or group of members)
can manage.

This products make something very dangerous: with a minimal configuration, a member of the Plone portal
(or all members in a group) will be able to manage the users of a group overriding the basic portal security.
You only need to go to the *portal_properties* tool of you portal and modifiy the new
**simple_groups_management_properties**.

In the *sgm_data* section you need to insert a set of strings like

::

id1|group_id1
id2|group_id2
...

where *id1*, *id2* can be user or group ids. This mean that the member (or group) id1 will be able to act on the
group_id1 members.

You can also insert a list of groups ids that will be never handled by this product in the
**sgm_never_managed_groups** section.

The utility also react to the **Add portal members** permission. If the current user has this permission
you will be able to add new portal members (so no security break for this).

When an user is added to a group or removed, an event will be raised.

Compatibility
-------------

Tested with Plone 4.2. Look for older releases if you need Plone 3 compatiblity.

Be aware!
=========

This products override all normal Plone permissions noted above! This can create **security black-holes** in
your portal!

.. figure:: http://keul.it/images/Black_Hole_Milkyway.jpg
:scale: 50

The access to the new user/group management form is protected by the **Use Simple Groups Management**
permission (commonly given to all site Members).

Similar products
================

Maybe is a good idea to check also `collective.groupdelegation`__

__ http://pypi.python.org/pypi/collective.groupdelegation

TODO
====

* Don't force the Manager to go in ZMI, but handle configuration from Plone UI.

Credits
=======

Special thanks to Albert Pallas for beeing the locales-man.

Changelog
=========

0.4.0 (2012-10-04)
------------------

* Added support for the Site Administrator role [keul]
* Moved action link to manage groups from portal_action to
user section (in the proper Plone 4 style way) [keul]
* Added a proper uninstall procedure [keul]
* Updated templated to Plone 4 [keul]
* Added a project browserlayer [keul]
* Added missing translation strings [keul]
* HTML 5 fixes [keul]
* Search also by userid [keul]
* Fixed portal message problem [keul]

0.3.2 (2011/12/19)
------------------

* Added title of the group in groups listing [micecchi]

0.3.1 (2011/07/12)
------------------

* fixed bug in group listing [micecchi]

0.3.0 (2011/07/10)
------------------

* No more Plone 2.5 support
* Plone UI updated to Plone 3 world [micecchi]
* Moved tool-link from users preferences to plone_control_panel [micecchi]
* Created a link in site_actions to access the management view [micecchi]
* Created a custom event raised when an user is assigned/deleted to a group
when using this product [micecchi]
* Changed the way of listing users, to support ldap and many users [micecchi]
* Improved Plone4 compatibility [micecchi]

0.2.0
-----

* Albert Pallas provided internationalization support
* Again Albert added catalan, spanish and french translations
* Added italian translation

0.1.0
-----

* Initial release

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

Products.SimpleGroupsManagement-0.4.0.zip (87.3 kB view details)

Uploaded Source

File details

Details for the file Products.SimpleGroupsManagement-0.4.0.zip.

File metadata

File hashes

Hashes for Products.SimpleGroupsManagement-0.4.0.zip
Algorithm Hash digest
SHA256 62426e0c898fcb88defbb215901b00b83fc5d7cdd0bf36eb8c934660d2e1786e
MD5 57cf9875bac347ba83acf13d6fc9b591
BLAKE2b-256 433d8a9c661a7cec896a74ba125429e051049cd785060db4795d5d46493853e2

See more details on using hashes here.

Supported by

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