Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redomino.tokenrole-0.4.tar.gz (29.1 kB view hashes)

Uploaded Source

Built Distribution

redomino.tokenrole-0.4-py2.6.egg (59.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page