Code

Activated ACL loading -temporarily
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Oct 2010 16:05:52 +0000 (16:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Oct 2010 16:05:52 +0000 (16:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20048 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc

index 4a6cad9f3633f0bccb2825b7ddbf3344bc3ea2d9..b08e321c0fc8f07b2c40142b5e203fca9e49dfc3 100644 (file)
@@ -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;
                 }