A Plone utility that let non-Manager users able 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 playing with the (Plone Site Setup: Users and Groups). Even playing with this permission is impossible to limit the group on which a member (or group) can manage.
This product adds a minimal configuration, a member of the site (or all members in a group) will be able to manage which users are part of a group.
You only need to go to the “Groups management proxy settings” settings panel. You need to insert a set of strings like…
id1|group_id1 id2|group_id2 ...
…where id1, id2 can be an user id or a group id. That mean: what is on the left can manage on group on the right.
Members able to manage groups can also perform bulk upload of members by loading a simple text file.
The utility also react to the Add portal member permission. If the current user has this permission he will be able to add blend new portal members to the group.
When an user is added or removed, an event is notified.
Compatibility
Tested with Plone 5.2. Plone 4 should work too (untested).
TODO
The control panel integration user experience is a copy/paste from old ZMI portal_properties tool. I need a hero who can find time to fix it.
Be aware!
This products override all normal Plone permissions noted above! This can create security black-holes in your portal!
The access to the new user/group management form is still protected by the Use Simple Groups Management permission (commonly given to all site Members).
Credits
Special thanks to Albert Pallas for being the locales-man.
Changelog
0.7.0 (2021-01-11)
Changes for Plone 5.2 and Python 3 compatibility. Plone 4 should work too, but untested. [keul]
The “Add new user” feature was not working on Plone 5. Now it’s not based on standard Plone feature anymore due to changes in Plone 5: seems that “Add portal member” permission is not used, while the new “Plone Site Setup: Users and Groups” is too powerful.
So: a new inline form for creating user is provided (very sloppy implementation, but the whole package is Plone 2.5 style, so…). [keul]
0.6.0 (2017-02-03)
New feature: mass add members providing a file [keul]
0.5.0 (2017-02-02)
Plone 5 compatibility
Moved i18n to locales (some translation has been lost due to strange encoding issues) [keul]
Added a configuration registry panel and moved to plone.app.registry [keul]
Fixed form GET to POST [keul]
Fixed an issue that was allowing user management for groups with similar names [keul]
Update load user code as Plone controlpanel do; this fix LDAP integration issue [keul]
Fix accents in spanish translations. [cekk]
0.4.1 (2013-11-15)
Standardise markup as per https://dev.plone.org/ticket/10231 [davismr]
Fixed permission problem when user has empty list of groups [davismr]
Fixed group management form format and labels [keul]
Show usernames [keul]
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 templates 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 Plone 4 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for Products.SimpleGroupsManagement-0.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 947b6fefdd3fcd650a5d890c029821598c51075fa520e5414b87e438b159f4f3 |
|
MD5 | 8a520b944f1c928435f8325864370e77 |
|
BLAKE2b-256 | 7c20436b8ecdbfe67fcd994dd2a4f05dc0aa80022366ef4d171a085fb99987dc |