skip to navigation
skip to content

Not Logged In

redomino.tokenrole 0.8

This product allows you to share roles about a specific Plone content to an unregistered user through a link.

Latest Version: 0.10

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).

https://github.com/redomino/redomino.tokenrole/raw/master/docs/resources/add_token.png

Token role creation

The default policy which comes with redomino.tokenrole implement this annotating information on the context, managed through a browser view.

https://github.com/redomino/redomino.tokenrole/raw/master/docs/resources/manage_tokens.png

Tokens management interface

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.8 (2012-07-19)

  • i18n fixes on message errors [davidemoro]
  • Added a date validator, you shouldn't choose a token end date in the past. [davidemoro]

0.7 (2012-06-14)

  • i18n improved and fixed [giacomos]

0.6 (2012-06-12)

  • Token role enabled just for non-folderish items. [davidemoro]
  • Removed the "Can add" option from token role [davidemoro]
  • Modified token delete form [davidemoro]
  • Modified all z3c forms, added a Cancel button [davidemoro]
  • Updated po files [davidemoro]
  • Registered a tokenrole.css (if you are upgrading redomino.tokenrole to this versione you need to reinstall it) [davidemoro]
  • Some UX improvements on token manage view [davidemoro, giacomos]
  • Share token via email. Now the message text is configurable by the user [giacomos]

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]
 
File Type Py Version Uploaded on Size
redomino.tokenrole-0.8.zip (md5) Source 2012-07-19 144KB
  • Downloads (All Versions):
  • 11 downloads in the last day
  • 123 downloads in the last week
  • 648 downloads in the last month