From 74054e97179bacb436f4c5147e202dd4c1e59727 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Dec 2005 06:15:46 +0000 Subject: [PATCH] Added acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2163 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/addressbook/main.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/addons/addressbook/main.inc b/plugins/addons/addressbook/main.inc index 0bb04e120..a8ffc9f48 100644 --- a/plugins/addons/addressbook/main.inc +++ b/plugins/addons/addressbook/main.inc @@ -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.= "\n"; -- 2.30.2