Skip to main content

PAS Challenge plugin to allow custom login actions and redirects

Project description


A way to customise the login behaviour by using content rules. Content rules can now be triggered by a Unauhtorised trigger and new Redirect action allows adminstrators to send users to a custom form or another site. Rules can be created to redirect unauthorised users based on the content location, current groups or permissions or any other content rule criteria. Because the redirect action uses a tal expression you can include any additional information you need for you custom login process.


Filling out a form to download a pdf. This can be achieved via creating a rule that redirects to a PloneFormGen form and then applying the content rule to the private content objects you want to protect. Using a PFG script adapter,Plomino or Rapido, you can use something like tokenrole to give permission to original object once the user has filled out the form correctly.


A PAS challenge that raises an event so that a custom event handler can issue a redirect, allowing for custom login pages.

Provides a ContentRule and a ContentAction so that redirects can be managed via content rules.


Note: place names and roles of the people who contribute to this package
in this file, one to a line, like so:
  • Daniel Marks, Original Author
  • Dylan Jay, Architect


1.0.1 (2017-05-08)

  • forgot to include all the text files in the last release

1.0 (2017-04-21)

  • Initial Release []

Project details

Download files

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

Files for collective.customlogin, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size collective.customlogin-1.0.1.tar.gz (18.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page