Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

this plugin can be used for anonymous content submission

Project description

Introduction
============

It gives anonymous users an automatic userid + roles

AnonPAS
-------

This hacked PlonePAS collection of plugins was mostly ripped
from other plugins, especially from CookieAuthHelper
It gives anonymous users an automatic (random) userid + roles
so this plugin can be used for anonymous content submission.
The cookie (for the automatic login) is a session cookie, so after the user
closes the browser, a new (random) login will be generated the next time.

The benefit of using this plugni is that anonymous users can create content,
and after the creation still access their own content (since as long as the
session remains open they will be owner of that created content).
You can create/customize the workflow to make sure that other anonymous users
can't access the newly created content by other anonymous users
(set the 'view' persission to owner and reviewer (and not to contributor))

Since everybody will get an automatic login, the standard 'login'
link will dissapear. You can ofcourse still manually go to the login_form
and login as a normal user. If necessary, you can ofcourse modify the default
action in plone, and also show this link for users with a userid starting
with 'anon_'

SECURITY NOTE:
after you installed this product, anyone will automatically get a login
to your plone site. So there will be no 'anonymous' users anomore

The standard role for these 'anon' users is set to 'Contributer'!
(see CONFIGURATION) on how to change this.

INSTALLATION
------------

Use the QuickInstaller. This will add and activate the plugin in acl_users (PAS)
of your plone instance.

CONFIGURATION
-------------

There are 2 configurable settings at the moment.
Go to the 'properties' tab of the anon plugin

1: cookie name
You can set a different cookie name then the default 'anon_cookie'
(but why should you?)

2: anonymous roles
You can set the roles that you wan each anonymous user to obtain.
If you want to, you can give everyone the 'Manager' role, but I don't
think this is very wise under normal conditions ;-)



Changelog
=========

1.0 - Stable release
--------------------
* eggified + uploaded to pypi

0.1 - Unreleased
----------------
* Initial release

Project details


Release history Release notifications

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
Products.AnonPAS-1.1_r55-py2.4.egg (14.9 kB) Copy SHA256 hash SHA256 Egg 2.4
Products.AnonPAS-1.1-r55.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Source None

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page