Code

Updated ACL stuff
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 09:37:27 +0000 (09:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Mar 2010 09:37:27 +0000 (09:37 +0000)
-class_acl.inc has to act on acl_category 'acl/*' in all cases. Do allow to override it
-class_plugin has now ACL debugging infos .

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17038 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_acl.inc
gosa-core/include/class_plugin.inc

index 3611ac7fe0a0ada042a59d467e71cee9401867c3..92f98e384e5e394362db59d273bd34e9030dcce3 100644 (file)
@@ -1354,6 +1354,12 @@ class acl extends plugin
     }
   }
 
+  
+  // We are only interessted in our own acls ... 
+  function set_acl_category($category)
+  {
+    plugin::set_acl_category("acl");
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index d0c7b8096bfd31744201bd048e780cee134e1764..167009672faf4fee24fe0830f34e20a49c58a07e 100644 (file)
@@ -1516,12 +1516,14 @@ class plugin
 
   function set_acl_base($base)
   {
+    @DEBUG (DEBUG_ACL, __LINE__, __FUNCTION__, __FILE__,"<b>".$base."</b>","<b>ACL-Base:</b> ");
     $this->acl_base= $base;
   }
 
 
   function set_acl_category($category)
   {
+    @DEBUG (DEBUG_ACL, __LINE__, __FUNCTION__, __FILE__,"<b>".$category."</b>(/".get_class($this).")","<b>ACL-Category:</b> ");
     $this->acl_category= "$category/";
   }