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 (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.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file collective.customlogin-1.0.tar.gz.

File metadata

File hashes

Hashes for collective.customlogin-1.0.tar.gz
Algorithm Hash digest
SHA256 3201ec08241868518b452251f3d14e48bd002a7ac933e2dbab7cb987bb41079e
MD5 dfe2c092644210f0e703a8b49a361592
BLAKE2b-256 59d4470be54e80c00f142384c5f2f7a8d5b58dd2f3dda5dbb5f2e0562aae28d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page