[Tickets #8475] Re: Skipping login tasks not working as expected

bugs at horde.org bugs at horde.org
Wed Aug 5 22:07:22 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8475
------------------------------------------------------------------------------
  Ticket             | 8475
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Skipping login tasks not working as expected
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Jan Schneider, Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2009-08-05 18:07) wrote:

> This fixed that issue, but now I can't access IMP anymore. As an  
> admin I get "Not authorized" in the IMP block, hordeauth isn't  
> working anymore. As a regular user, I don't see IMP in the menu  
> anymore at all.

Works for me.  Testing with 'imap' auth and hordeauth => true in IMP.   
Tracing the code:

pushApp('imp', array('checkPerms' => true))
calls hasPermission()
hasPermission() does Horde_Auth::isAuthenticated() call.  This call  
will automatically do transparent auth.  If not authenticated, will  
return false and pushApp() will throw an authentication error; the  
Horde_Auth::isAuthenticated() call will fail there also.  Really  
stinks that we have to do that same call twice.
Then hasPermission() returns true because I am listed as an admin.   
Would also return true if no permissions exist for IMP, or if I am  
permitted to view imp.






More information about the bugs mailing list