From: hickert Date: Tue, 26 Sep 2006 10:32:48 +0000 (+0000) Subject: Only show createable services X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=12adbf531357f8cf10031705ebc1e5095fe4a6f7;p=gosa.git Only show createable services git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4780 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_serverService.inc b/plugins/admin/systems/class_serverService.inc index 62a31f1e1..c6fe5415b 100644 --- a/plugins/admin/systems/class_serverService.inc +++ b/plugins/admin/systems/class_serverService.inc @@ -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;