Make Plone Match 403 Forbidden Errors

The default behavior of Plone is to display a login window when a user tries to access content for which he or she does not have permission.

How to change this behavior to display the page and unauthorized page? How to set up this unauthorized page to create custom texts. etc.?

+3
source share
3 answers

Configure this template: Products .CMFPlone / Products / CMFPlone / skins / plone_login / require_login.py , either through setting the "old style" skin or setting jbot "new style": http://pypi.python.org/pypi/z3c .jbot (see section CMF Objects)

+3
source

PAS responds to an unauthorized 401 error by invoking any call plugins, so that the login form does not disable these plugins in acl_users.

A 403 The prohibition shall not lead to a call. However, in production mode (but not in debug mode), these errors are hidden, and they are converted to 404 Not Found.

+5
source

All Articles