This product allows you to share roles about a specific Plone content to an unregistered user through a link.
Project description
redomino.tokenrole
This product allows you to share roles about a specific Plone content to an unregistered user through a link.
TokenRole use borg.localrole to assign localroles in context.
PAS Plugin which can assign localroles on a context to anonymous users providing a specific token is provided.
After you install redomino.tokenrole through Plone Control Panel, go to any Plone Page and activate TokenRole support using the specific action in the content actions menu.
A new content tab will appear to let you manage your tokens on that page: create a new one leaving there what the system suggests or modifying it as you need. Now try to access the provided url with an unpriviledged user and you’ll get the role you granted on that context.
You can manage the token role (edit, delete, modify or distribute via mail).
The default policy which comes with redomino.tokenrole implement this annotating information on the context, managed through a browser view.
Usage
Install the redomino.tokenrole plugin through the quick installer
Credits
Incredibly easy was to have this work done starting out from AutoRole product and its PAS plugin, and of course many thanks to borg.localrole for the incredibly easy way of providing localroles on context.
Thanks to Fabrizio Reale, Redomino and ITCILO for inspiring and sponsoring this effort.
First implemented by Maurizio Delmonte.
Changelog
0.5 (2012-04-27)
The share with link action is available by default without having to enable token role on the current item or section. [davidemoro]
Get rid of the enable and disable token role action, it is enabled by default now. Important: if you upgrade redomino.tokenrole to this version you should delete from the category object_buttons of portal_actions the enable_tokenrole and disable_tokenrole. [davidemoro]
Granted the token role permission to users with Editor role [davidemoro]
Enabled the locales/en directory [davidemoro]
Added new tests [davidemoro]
English translation [dpollino]
0.4 (2012-04-04)
Modified long_description in setup.py. [davidemoro]
Added .gitignore file. [davidemoro]
0.3 (2012-04-02)
First public release [sithmel]
0.2 (2012-04-02)
Porting to Plone 4 [davidemoro]
Converted all formlib forms to z3c.form [davidemoro]
Added i18n support [davidemoro]
Added a distribution form that let you share token roles through a “send to” form [davidemoro]
Added a multirole token (previously it was only possibile to grant a Reader role). Now you can choose which roles associate to your tokens [davidemoro]
Created converted all formlib forms to z3c.form [davidemoro]
Improved installation, now the PAS plugin is configured automatically in acl_users [davidemoro]
Added support to plone.app.testing and wrote some tests (not 100% tested) [davidemoro]
0.1 (2012-03-21)
First implementation and main author Maurizio Del Monte [miziodel]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.