plone content rule根据内容创建组
sc.contentrules.group的Python项目详细描述
sc.contentrules.group
Overview
sc.contentrules.group is a content rules action that creates a new group in a Plone site when executed.
Use case
In a portal you have an area for Products. This area, /products will hold folders for each product available.
Everytime a new folder (product) is added in this area we want a new group of users to be created.
This group can be used to give local roles to its users in this context.
Requirements
- Plone 3.3.x and above (http://plone.org/products/plone)
Installation
要启用此产品,请在基于构建的安装上:
Edit your buildout.cfg and add ^{tt1}$ to the list of eggs to install
[buildout] ... eggs = sc.contentrules.group
更新配置后,需要运行“bin/buildout”, 它将负责更新您的系统。
Credits
- Erico Andrei (erico at simplesconsultoria dot com dot br)