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

https://secure.travis-ci.org/collective/redomino.tokenrole.png?branch=master

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

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

First implemented by Maurizio Delmonte.

Contributors

Changelog

1.0 (2018-04-16)

  • Use email of current user, instead of system email [tomgross]

1.0rc3 (2017-11-08)

  • Fix error when sending token url via email [tomgross]

1.0rc2 (2017-09-06)

  • Make ATContentTypes optional [tomgross]

1.0rc1 (2017-08-02)

  • Fix getting request [tomgross]

1.0b2 (2017-05-05)

  • Fix packaging issue [tomgross]

1.0b1 (2017-05-05)

  • Plone 5 compatibility [tomgross]
  • Add adapter for construction token URL [tomgross]

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
redomino.tokenrole-1.0.tar.gz (122.0 kB) Copy SHA256 hash SHA256 Source None Apr 16, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page