Skip to main content

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. Changelog =========

1.5 (2013-12-06)

  • Fixed reload of overlay in case of errors. [vincentfretin]

  • Use self.handle_join_success instead of super in add form, this allows to override only the method in a subclass. [vincentfretin]

1.4 (2013-07-18)

  • Fields extenders can get the context as parameter. [thomasdesvenain]

1.3 (2013-04-24)

  • Now we have a dexterity behaviour. [thomasdesvenain]

1.2.1 (2013-02-15)

  • German translation.

1.2 (2012-09-25)

  • Created minimal.zcml and minimal_wo_roles.zcml for extensibility. The package is not declared as Plone plugin anymore, be sure to include one of the package zcml files.

  • UserLocallyAdded event now takes data and not roles as second parameter.

1.1.1 (2012-08-03)

  • No failure if no role has been selected for new user.

1.1 (2012-06-29)

  • Added possibility to add new fields to the add user form.

1.0 (2011-09-29)

  • Initial release

Release files for collective.local.adduser 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.local.adduser 1.5
File Size Uploaded
collective.local.adduser-1.5.zip 17.0 kB Details

Release files / collective.local.adduser-1.5.zip

Download URL collective.local.adduser-1.5.zip
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8c4ac3cf462747806797c5a64e7a8902399c3a6f7a67e9ebe223e209f41a7785
BLAKE2b-256 checksum
How to use checksums
3a614d931b49c12958bcad67ac7679a9b7bade9741fe30b5c74a178b00a4e418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.5 This release

1 release file

1.4

1 release file

1.3

1 release file

1.2.1

1 release file

1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page