You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 25 / collective.local.adduser-1.5-1.lbn25.noarch

collective.local.adduser-1.5-1.lbn25.noarch

Package Attributes
RPM  collective.local.adduser-1.5-1.lbn25.noarch.rpm Architecture  noarch Size  29422 Created  2023/06/18 04:03:37 UTC
Package Specification
Summary Allows to create a user and assign roles directly from the sharing tab. By Ecreall
Group Application/Internet
License ZPL
Home Page https://pypi.python.org/packages/source/c/collective.local.adduser/collective.local.adduser-1.5.zip
Description

Allows to create a user and assign roles directly from the sharing tab for Plone >= 4.1. This can work with Plone 4.0.9 with plone.app.users > 1.0.6, < 1.1.x.

Content types have just to implement IAddNewUser to have the functionnality.

If you want to enable it for Folder, you only have to add to your buildout.cfg:

  [instance]
  eggs =
      ...
      collective.local.adduser
  zcml =
      ...
      collective.local.adduser

If you don't want the functionnality for Folder, but on your own content type, add to the configure.zcml of your policy module:

  <include package="collective.local.adduser" file="minimal.zcml" />
  <class class="my.package.content.MyContent.MyContent">
     <implements interface="collective.local.adduser.interfaces.IAddNewUser" />
  </class>

If you don't want the roles field, you can include minimal_wo_roles.zcml instead of minimal.zcml.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
/bin/sh  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
collective.local.adduser
python2.7dist(collective.local.adduser)
python2dist(collective.local.adduser)

Document Actions