Code

Added acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Dec 2005 06:15:46 +0000 (06:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Dec 2005 06:15:46 +0000 (06:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2163 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/addressbook/main.inc

index 0bb04e1208a79065bd0684f7ca42086b8dbdc588..a8ffc9f486ba0c3a83f65ad7bdfa14653e1acc45 100644 (file)
@@ -28,6 +28,10 @@ if (!$remove_lock){
        }
        $addressbook= $_SESSION['addressbook'];
 
+       /* set permissions */   
+       $acl= get_permissions ($ui->dn, $ui->subtreeACL);
+    $addressbook->acl= get_module_permission($acl, "addressbook", $ui->dn);
+       
        /* Execute formular */
        $display.= $addressbook->execute ();
        $display.= "<input type=\"hidden\" name=\"ignore\">\n";