Ticket #1204 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

Logout link should be able to send users to another page

Reported by: weltepe@gmail.com Assigned to: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: r.s.hatcher@rdg.ac.uk Trac Release: 0.10

Description

Users click 'Logout' from any page requiring special privileges and as a result a page says "Forbidden ... BLAH_PRIVILEGE privileges are required to preform this operation" which makes it sound like they didn't successfully logout.

I think the desired behavior is to confirm they logged out visually ("You have successfully logged out"), but it would also be fine if the Logout button could just send them to some public page like /wiki.

Attachments

Change History

06/01/07 10:28:02 changed by anonymous

  • cc set to r.s.hatcher@rdg.ac.uk.

07/03/07 04:59:36 changed by jfernandez@ist.psu.edu

I found that the auth.py file was updated to allow administrators to configure a custom location to redirect users when they click the logout link.

To configure that you have to modify your trac.ini as follows:

[metanav] logout.redirect = Custom-Location

For example, in my case I'm using:

[metanav]
logout.redirect = /login

So, when the user logouts the application is redirected to the login page.

I think they did this change in the trunk as well as in the 0.10 branch. I don't know if that resolves the problem or it;s only a work-around since the point of view of the AccountManagerPlugin

07/03/07 05:46:52 changed by mgood

  • status changed from new to closed.
  • resolution set to worksforme.

Yeah, if this is fixed in Trac there's no need to duplicate it in this plugin.


Add/Change #1204 (Logout link should be able to send users to another page)




Change Properties
Action