Edgewall Software

Ticket #4515 (new defect)

Opened 2 years ago

Last modified 21 months ago

Unexpected login behaviour

Reported by: a.rodger@… Owned by: jonas
Priority: low Milestone: 0.10.6
Component: general Version: 0.10.2
Severity: trivial Keywords: login navigation priveleges
Cc:

Description

If you navigate to any page in Trac whilst logged in that 'anonymous' does not have privelges to view (such as browse source) and then click the logout link, you get the message

'FORBIDDEN - BROWSER_VIEW privileges are required to perform this operation'

whereas you would expect to be forwarded back to the homepage or something

Note - I have tracaccountmanager, tracwebadmin and webadminusers plugins installed using HtDigest? Auth on Apache 2.0 with mod_python front if it makes any difference

Attachments

Change History

Changed 2 years ago by weltepe@…

I see this too. For us, users click logout and think their logout failed because they see "Forbidden".

I think instead of just saying 'Forbidden', it should say "Access to page Some-Protected-Page forbidden (you are not logged in)". If the user is logged in but doesn't have permission, that last part should say "(you are logged in, but don't have TRAC_PRIVILEDGE_NAME priviledges)".

The worst part of the current behavior is that the reason given for the page viewing being forbidden is something like: "TICKET_VIEW privileges are required to perform this operation". The new user sees this after clicking logout, and interprets "perform this operation" to mean "logout" instead of "view page".

Related: See http://trac-hacks.org/ticket/671 and http://trac-hacks.org/ticket/1204

Changed 21 months ago by cboos

  • keywords login navigation added; login, navigate, removed

Add/Change #4515 (Unexpected login behaviour)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
The owner will change from jonas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.