[Trac-tickets] [The Trac Project] #2375: Permission denied page should mention logging in if not logged in.

The Trac Project noreply at edgewall.com
Fri Nov 18 20:18:30 CST 2005


#2375: Permission denied page should mention logging in if not logged in.
---------------------------------+------------------------------------------
 Reporter:  pfnguyen at hanhuy.com  |       Owner:  jonas
     Type:  enhancement          |      Status:  new  
 Priority:  normal               |   Milestone:       
Component:  general              |     Version:  0.9  
 Severity:  normal               |   Keywords:                       |  
---------------------------------+------------------------------------------
 There are many privileges I revoke from anonymous but grant to
 authenticated.

 {{{
 Permission Denied

 TICKET_CREATE privileges are required to perform this operation
 }}}

 When a user is not logged in and encounters the permission denied page it
 is not obvious that the person could log in and attempt to view the page.

 Currently, not all users in my organization are trained to use Trac,
 however we have a single-sign-on setup and Apache/Trac supports that.
 Thus all users in my organization can log in to trac.

 When a new user comes to trac (and I point them at /newticket or
 something) they get a permission denied message and don't know what to do
 next.  Instead, maybe we could have a message that looks like:

 {{{
 Permission Denied

 TICKET_CREATE privileges are required to perform this operation

 You are not logged in, please :login: and try again.
 }}}

 And with the 2nd attempt (if it still fails), present the message that the
 user logged in does not have the required ACL.  Something like:

 {{{
 Permission Denied

 TICKET_CREATE privileges are required to perform this operation

 Your login, $REMOTE_USER, does not have the required permissions.
 [perhaps list the permissions granted here as well]
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2375>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list