From: hickert Date: Thu, 14 Oct 2010 16:05:52 +0000 (+0000) Subject: Activated ACL loading -temporarily X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9c8eadaf9b70cc137a73ad5785f83fd0f3c18bfd;p=gosa.git Activated ACL loading -temporarily git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20048 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc b/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc index 4a6cad9f3..b08e321c0 100644 --- a/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc +++ b/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc @@ -114,15 +114,15 @@ class GroupwareSharedFolder extends plugin $entry['name'] = $name; $entry['status'] = ''; $acls = array(); -# $acls = $rpc->gwFolderGetMembers($path); -# if(!$rpc->success()){ -# $this->rpcError = TRUE; -# $this->rpcErrorMessage = $rpc->get_error(); -# $message = sprintf(_("Failed to load permissions for folder '%s'! Error was: '%s'."), -# $path,$rpc->get_error()); -# msg_dialog::display(_("Error"),msgPool::rpcError($message), ERROR_DIALOG); -# return; -# } + $acls = $rpc->gwFolderGetMembers($path); + if(!$rpc->success()){ + $this->rpcError = TRUE; + $this->rpcErrorMessage = $rpc->get_error(); + $message = sprintf(_("Failed to load permissions for folder '%s'! Error was: '%s'."), + $path,$rpc->get_error()); + msg_dialog::display(_("Error"),msgPool::rpcError($message), ERROR_DIALOG); + return; + } $entry['acls'] = $acls; $folderList[$path] = $entry; }