Plone Groups Management Delegation
Project description
Group Delegation
A customization of some Plone Groups Management screens, and some new templates and scripts added, providing the delegation of Groups management in Plone for any member without ‘Manager’ role.
This code was originally published by Ingeniweb in Grufspaces product and has been upgraded for plone3.x compliance, some tests have also been added.
How to use this product :
add collective.groupdelegation to your buildout (see docs/INSTALL.txt for more information)
Intall “Group Delegation” in your plone site using portal_quickinstaller
Go to Users/Groups management control panels, Create a group and some users.
Choose the group you want to delegate management
Click on “Group Managers” tab
Search for, and choose the user you want delegate the group management to.
Connect to your site with this user credentials
A “My groups” tab will appear in personal tools, click on this link
The group will appear in list
Click on this group link, now you can manage it without Manager rights.
TODO : Security issues
At this time no special zope security or role is needed to manage groups in Plone. The process is only protected by a condition “chekPermission(‘Manage portal’)”” inside templates.
This product is following the same logic, it’s just a skin product , the only thing done to allow/disallow groups management is a new property added to groups.
To improve security it could be useful to add a new specific zope security “Manage groups”, only allowed to a “Group manager” new role.
Then, when choosing the group manager, could it be possible to allow/disallow the local role to a specific user on a specific group ? i don’t know.
TODO : template and python scripts redesign
At this time this product is using actual Plone groups management templates and scripts because it is using the same methods to search/add/remove groups members, redesigning this product would mean first a complete redesign of plone templates, a big work that could be done in future …
For more information read the doctest (readme.txt) inside product.
Changelog
0.2
context/@@authenticator was missing in prefs_group_members overload (used in last plone 3.x versions)
prefs_group_members overload uses the same presentation as last plone 3.x template
link to controlpanel removed in prefs_delegated_groups_overview.cpt template
0.1
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
Built Distribution
Hashes for collective.groupdelegation-0.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6311208055cf3b9622754965e5a3edf01b1e2833e5bb89d0fdb26076a565c1 |
|
MD5 | 55af944f128023eed75da71e678ad04d |
|
BLAKE2b-256 | 104d4daaa38b9a94bb6de47ec2cbaa2ff51726f14db0fe43b58e0f063a34cfad |
Hashes for collective.groupdelegation-0.2-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b625dfcd9947dda035fee4c0df738d87ca0d2880470c4a274f416bc76e5e171 |
|
MD5 | 7d28351aeb34f07e74951d2d947bf072 |
|
BLAKE2b-256 | b82bc1e3928d9e5e96bc53380cd6afc2d32cf0a8a439ad2a0fcf334a899bb8ad |