Code

Fixed connectivity acls, acl-base/category wasn't set if we were editing from adminis...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Aug 2006 04:24:22 +0000 (04:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 11 Aug 2006 04:24:22 +0000 (04:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4472 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_connectivity.inc

index b8b0b1110b882cdeac09d591488abb6244afd0d5..c6ed520c55c75bd2468e39fcb7741eccf9f462d6 100644 (file)
@@ -36,6 +36,12 @@ class connectivity extends plugin
       $name= $plug['CLASS'];
       $this->plugin_name[]= $name;
       $this->plugin[$name]= new $name($config, $dn);
+
+      /* Acl base && category configuration, 
+          these settings will be overloaded in main.inc, 
+          if we are editing ourself */
+      $this->plugin[$name]-> set_acl_category("users");
+      $this->plugin[$name]-> set_acl_base($this->dn);
     }
   }