Code

Only show createable services
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Sep 2006 10:32:48 +0000 (10:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Sep 2006 10:32:48 +0000 (10:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4780 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_serverService.inc

index 62a31f1e107bcb2a19a9e0cc28e9a548c5ad8831..c6fe5415b98048d84e02d6bb63c32bd89dd97ce7 100644 (file)
@@ -261,6 +261,12 @@ class ServerService extends plugin
           }
         }
       }
+
+      /* Only show createable services */
+      if(!$obj->acl_is_createable()){
+        $skip = true;
+      }
+
       if(!$skip){
         if(isset($obj->DisplayName)){
           $ret[$name] = $obj->DisplayName;