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.4 - 2010/07/22
fix docs folder is missing in package
0.3 - 2009/07/10
Updated french translation. [vincentfretin]
Added entry point to declare the product as plone plugin. [vincentfretin]
Added profiles/default/groupdelegation_marker.txt to avoid to reexecute setupGroupDataDelegation when another product is installed. [vincentfretin]
Synced with latest Plone 3.3 templates. [vincentfretin]
0.2 - 2009-06-26
context/@@authenticator was missing in prefs_group_members overload (used in last plone 3.x versions) [macadames]
prefs_group_members overload uses the same presentation as last plone 3.x template [macadames]
link to controlpanel removed in prefs_delegated_groups_overview.cpt template [macadames]
0.1 - 2009-06-18
Initial release [macadames]
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.4.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24daefa3af59b18e31198a0046b783b9eada785fb8a231cf77c2729f06f5a30b |
|
MD5 | bf2cd86c77e113870b827297c16379af |
|
BLAKE2b-256 | 45eaeaf1aa2c9abcd38dc3bf9ab104941f8123444ebc06273081b67e1dbdc6c7 |
Hashes for collective.groupdelegation-0.4-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81f5802fa261ba1d1f4c548de7105a9408712fe28b2f6e38e8bde78d6a29a74b |
|
MD5 | 1d1f3943374624a3143ce521c0250612 |
|
BLAKE2b-256 | 06ffa588ff1906f277552321b3d3c2a47236f3d6b8b1f3c88429615609634a88 |