From: hickert Date: Thu, 1 Dec 2005 06:15:46 +0000 (+0000) Subject: Added acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=74054e97179bacb436f4c5147e202dd4c1e59727;p=gosa.git Added acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2163 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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";