Code

Updated get_ou it receives values from the config registry now.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:32:42 +0000 (13:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:32:42 +0000 (13:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18265 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/class_aclManagement.inc
gosa-core/plugins/admin/acl/tabs_acl_role.inc

index 35151da1edd56fda344ef41f848101898873dfec..f866993acddc747c8b0451e5e90f1fdc127f5bae 100644 (file)
@@ -38,7 +38,7 @@ class aclManagement extends management
     $this->config = $config;
     $this->ui = $ui;
    
-    $this->storagePoints = array(get_ou("aclRoleRDN")); // ACLs are attached to department containers
+    $this->storagePoints = array(get_ou("aclrole", "aclRoleRDN") ); // ACLs are attached to department containers
 
     // Build filter
     if (session::global_is_set(get_class($this)."_filter")){
index 28be2338567e20491201b33fb37ac71e510fe6ae..c818b6697a6315714cd8ce6eee9dcc018f30dc97 100644 (file)
@@ -35,7 +35,7 @@ class aclroletab extends tabs
 
     /* Check for new 'dn', in order to propagate the
        'dn' to all plugins */
-    $new_dn= 'cn='.$baseobject->cn.",".get_ou('aclRoleRDN').$baseobject->base;
+    $new_dn= 'cn='.$baseobject->cn.",".get_ou("aclrole", "aclRoleRDN") .$baseobject->base;
 
     if ($this->dn != $new_dn){