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).
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. Current mantainer Davide Moro.
First implemented by Maurizio Delmonte.
Contributors
Redomino S.r.l., info@redomino.com
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file redomino.tokenrole-1.1.1.tar.gz
.
File metadata
- Download URL: redomino.tokenrole-1.1.1.tar.gz
- Upload date:
- Size: 122.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0914554399b56ec55daa69dcc13cde5935ac6b91463c71027ec2cfda3982dfce |
|
MD5 | 7d090166516580bff1d3885a702b5f8d |
|
BLAKE2b-256 | 77ca740b5d267be487fe200b70c4e9c2db7f3041b0af695050202f8d41d1b858 |