[Tickets #2138] Dynamically configured IMSP sources ignore horde permissions

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jun 24 01:53:57 PDT 2005


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

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=2138
-----------------------------------------------------------------------
 Ticket             | 2138
 Updated By         | Jan Schneider <jan at horde.org>
 Summary            | Dynamically configured IMSP sources ignore horde permissions
 Queue              | Turba
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | Michael Rubinsky
-----------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2005-06-24 01:53) wrote:

> I knew someone would ask about that extra assignment... It was the 
> only way I could think of of assuring that $GLOBALS['cfgSource'] is 
> available and unfiltered before we call Turba::permissionFilter.  
> Why?  Because, in Turba::permissionFilter, we call 
> Turba_Driver::hasPermission...which by default behavior will call 
> Turba::hasPermission...and that requires that $GLOBALS['cfgSources'] 
> be available.  I thought about doing an 'include TURBA_BASE . 
> '/config/sources.php' from within hasPermission, but that seemed like 
> a bad idea...

Ah, that makes sense. I would say, go ahead, commit it. We can test it more
easily then.




More information about the bugs mailing list