Hi,
I think that the simple plugin mentioned in the ticket is a reasonable
fit for the requirements and so, unless anyone has an objection I
believe it should be enabled by default.
The new behaviour with the plugin activated when the user lacks the
required permission for a view is as follows:
* An authenticated user will see any error as before.
* An anonymous user will be redirected to the login page.
* An authenticated user on logout becomes anonymous and so also gets
redirected to the login page for this situation.
Mark: Will that do for now? Would you like to test this?
Cheers,
Gary
On 05/30/2012 03:47 PM, Apache Bloodhound wrote:
#73: When you logout while on an administration page, you get logged out but
remain in the page causing an error
------------------------+-------------------------------------
Reporter: mpoole | Owner: gjm
Type: defect | Status: accepted
Priority: major | Milestone: RC1 for initial release
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+-------------------------------------
Comment (by gjm):
A look at this plugin suggests that it is very simple so I think it should
probably be recommended.
attachment:perm_redirect.diff shows how this can be automatically included
and configured for new installations.
To test on an existing installation, with (if applicable) the bloodhound
virtualenv activated, you can:
{{{
pip install -e svn+http://trac-
hacks.org/svn/permredirectplugin/0.11#egg=TracPermRedirect
}}}
and enable the plugin in the admin/general/plugin web interface.