Allows to create a group from the sharing tab. By Ecreall
Project description
Introduction
============
Allows to create a group and assign roles directly from the sharing tab for Plone 4.
Tested on Plone 4.1.
Content types have just to implement IAddNewGroup to have the functionnality.
Also provides a dexterity behaviour.
If you want to enable it for Folder, you only have to add to your buildout.cfg::
[instance]
zcml =
...
collective.local.addgroup
If you don't want the functionality for Folder, but on your own content type,
add to the configure.zcml of your policy module::
<include package="collective.local.addgroup" file="minimal.zcml" />
<class class="my.package.content.MyContent.MyContent">
<implements interface="collective.local.addgroup.interfaces.IAddNewGroup" />
</class>
If you just want this for a dexterity content type, you just have to activate the behaviour.
The user need to LOCALLY have the "Add Groups" permission to add a new group and
"Manage users" to add and remove users from the listed groups.
Add group to local list
-----------------------
The site manager can add groups from sharing table to locally managed groups list.
So then the user with local permissions can manage the group himself.
We don't give this feature to local managers to avoid privilege escalation.
Contributors
------------
- Vincent Fretin, vincent.fretin@gmail.com
- Thomas Desvenain, thomas.desvenain@gmail.com
Changelog
=========
1.2.2 (2013-09-05)
------------------
- Nothing changed yet.
1.2.1 (2013-09-05)
------------------
- Fix local add user form if there is no group assigned to this folder.
[thomasdesvenain]
1.2 (2013-07-18)
----------------
- Do not provide group selection field on 'Add user' form
if there is no group assigned to this folder.
[thomasdesvenain]
- Just include 'minimal' zcml configuration of collective.local.adduser
if we have just included 'minimal' zcml of collective.local.addgroup.
So we can use addgroup features without having adduser everywhere.
[thomasdesvenain]
- Added a message and a class on groups section in sharing page
if there is no group.
[thomasdesvenain]
1.1 (2013-04-05)
----------------
- Add group to list feature is restricted to managers only.
[thomasdesvenain]
- Now we have a dexterity behaviour.
[thomasdesvenain]
- Group management form opens in an overlay.
[thomasdesvenain]
- Works under Plone 4.3.
[thomasdesvenain]
1.0 (2012-06-29)
----------------
- Initial release
============
Allows to create a group and assign roles directly from the sharing tab for Plone 4.
Tested on Plone 4.1.
Content types have just to implement IAddNewGroup to have the functionnality.
Also provides a dexterity behaviour.
If you want to enable it for Folder, you only have to add to your buildout.cfg::
[instance]
zcml =
...
collective.local.addgroup
If you don't want the functionality for Folder, but on your own content type,
add to the configure.zcml of your policy module::
<include package="collective.local.addgroup" file="minimal.zcml" />
<class class="my.package.content.MyContent.MyContent">
<implements interface="collective.local.addgroup.interfaces.IAddNewGroup" />
</class>
If you just want this for a dexterity content type, you just have to activate the behaviour.
The user need to LOCALLY have the "Add Groups" permission to add a new group and
"Manage users" to add and remove users from the listed groups.
Add group to local list
-----------------------
The site manager can add groups from sharing table to locally managed groups list.
So then the user with local permissions can manage the group himself.
We don't give this feature to local managers to avoid privilege escalation.
Contributors
------------
- Vincent Fretin, vincent.fretin@gmail.com
- Thomas Desvenain, thomas.desvenain@gmail.com
Changelog
=========
1.2.2 (2013-09-05)
------------------
- Nothing changed yet.
1.2.1 (2013-09-05)
------------------
- Fix local add user form if there is no group assigned to this folder.
[thomasdesvenain]
1.2 (2013-07-18)
----------------
- Do not provide group selection field on 'Add user' form
if there is no group assigned to this folder.
[thomasdesvenain]
- Just include 'minimal' zcml configuration of collective.local.adduser
if we have just included 'minimal' zcml of collective.local.addgroup.
So we can use addgroup features without having adduser everywhere.
[thomasdesvenain]
- Added a message and a class on groups section in sharing page
if there is no group.
[thomasdesvenain]
1.1 (2013-04-05)
----------------
- Add group to list feature is restricted to managers only.
[thomasdesvenain]
- Now we have a dexterity behaviour.
[thomasdesvenain]
- Group management form opens in an overlay.
[thomasdesvenain]
- Works under Plone 4.3.
[thomasdesvenain]
1.0 (2012-06-29)
----------------
- 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
Close
Hashes for collective.local.addgroup-1.2.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f80f0f8450b164b51119b584e60d3288857d742e7a8bd965246b8338ad526b1 |
|
MD5 | d2cbccf1ba67b369a94f729b7fb71d8d |
|
BLAKE2b-256 | 37442092f85b04d6157b127f9e263ad9de5132164bfa68618cf06abe51c77921 |