Skip to main content

PAS Challenge plugin to allow custom login actions and redirects

Project description

CustomLogin

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.

Examples

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.

Technical

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.

Contributors

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

Changelog

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.

Source Distribution

collective.customlogin-1.0.1.tar.gz (18.0 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