From 12adbf531357f8cf10031705ebc1e5095fe4a6f7 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Sep 2006 10:32:48 +0000 Subject: [PATCH] Only show createable services git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4780 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_serverService.inc | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.30.2