<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Endless loop in group permissions check</title> 
  <pubDate>Fri, 10 Apr 2026 07:55:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1004</link> 
  <atom:link rel="self" type="application/rss+xml" title="Endless loop in group permissions check" href="https://bugs.horde.org/ticket/1004/rss" /> 
  <description>Endless loop in group permissions check</description> 
 
   
   
  <item> 
   <title>Testing HEAD horde framework.

The Authentication driver is </title> 
   <description>Testing HEAD horde framework.

The Authentication driver is configured as application (IMP).

I have set up one group and filled it with user names.

Then I set up a permission to allow SHOW/READ access

to an application, for example, nag.

When I try to invoke nag an endless loop encountered and the browser freezes until script exec timeout is run out.

The loop path/backtrace when the group permissions for the application are checked is listed below:



Perms_datatree::hasPermission -&gt; Perms_datatree::getPermissions -&gt; Group::singleton -&gt; Auth::singleton -&gt; Auth::factory -&gt; Auth_application::Auth_application -&gt; Auth_application::_setParams -&gt; Registry::hasMethod -&gt; Registry::_fillAPICache -&gt; Registry::listApps -&gt; Registry::hasPermission -&gt; Perms_datatree::hasPermission

</description> 
   <pubDate>Wed, 22 Dec 2004 15:44:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1004#t3873</link> 
  </item> 
   
  <item> 
   <title>Fixed now in CVS, thanks for the analysis.</title> 
   <description>Fixed now in CVS, thanks for the analysis.</description> 
   <pubDate>Fri, 24 Dec 2004 04:00:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1004#t3902</link> 
  </item> 
   
  <item> 
   <title>Not resolved; suggest to reopen bug.

Registry::hasMethod is</title> 
   <description>Not resolved; suggest to reopen bug.

Registry::hasMethod is removed from Auth_application::Auth_application but

Auth_application::hasCapability  still invokes Registry::hasMethod.

New loop backtrack is:



Perms_datatree::hasPermission -&gt; Perms_datatree::getPermissions -&gt; Group::singleton -&gt; Auth_application::hasCapability -&gt; Registry::hasMethod -&gt; Registry::_fillAPICache -&gt; Registry::listApps -&gt; Registry::hasPermission -&gt; Perms_datatree::hasPermission

 

Happy New Year! All the best wishes to you!!

</description> 
   <pubDate>Thu, 30 Dec 2004 18:38:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1004#t3993</link> 
  </item> 
   
  <item> 
   <title>Okay. Now hasMethod() isn&#039;t called when we&#039;re just checking </title> 
   <description>Okay. Now hasMethod() isn&#039;t called when we&#039;re just checking hasCapability(&#039;groups&#039;). That should do it.</description> 
   <pubDate>Fri, 31 Dec 2004 04:44:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1004#t4001</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
