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.1.1 (2019-01-06)

  • Fixed missing urllib import with Python3 compatible import and add six as dependency [MrTango]

1.1 (2018-10-17)

  • Quote url path when setting cookie

  • Fix email tests and travis tests [instification]

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.

Source Distribution

redomino.tokenrole-1.1.1.tar.gz (122.3 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