Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 (Manager or Site Administrator role is required). 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).

Token role creation

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

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. Current mantainer Davide Moro.

First implemented by Maurizio Delmonte.

Changelog

0.10 (2013-10-15)

  • Changed Readme.txt and commented unused code [davidemoro]

0.9 (2013-10-15)

  • Fixed issue #2 (tokenrole broken for Plone>4.2.5) [davidemoro]
  • Fixed issue #4 (can edit permission problems). Only Managers and Site Administrators will be able to manage token roles [davidemoro]

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]
Release History

Release History

History Node

1.0rc2

History Node

1.0rc1

History Node

1.0b2

History Node

1.0b1.dev0

This version
History Node

0.10

History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
redomino.tokenrole-0.10.zip (148.9 kB) Copy SHA256 Checksum SHA256 Source Oct 15, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting