From: hickert Date: Mon, 11 Aug 2008 12:02:26 +0000 (+0000) Subject: Updated repository service X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99281b16011262c7593dce9817963b00101a6ce0;p=gosa.git Updated repository service -Fixed ACLs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12188 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index 349f28ef3..597ce6ae1 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -353,11 +353,11 @@ class servrepository extends goService # "stop" => _("Service stop"), // Remove this to hide the stop button at all. # "restart" => _("Service restart"),// Remove this to hide the restart button at all. - "cn" => _("Name"), - "Release" => _("Releases"), - "Section" => _("Sections"), +# "cn" => _("Name"), "ParentServer" => _("Parent server"), - "Url" => _("Url")) + "Release" => _("Releases"), + "Url" => _("Url"), + "Section" => _("Sections")) )); } } diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc index 0c4bbd1c9..e2e9a4d8a 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepositorySetup.inc @@ -95,7 +95,12 @@ class servRepositorySetup extends plugin $divlist = new divSelectBox("servRepositorySetup"); $divlist->setHeight("220"); - $dellink = ""; + if(preg_match("/w/",$this->parent->getacl("Section"))){ + $dellink = ""; + }else{ + $dellink = ""; + } + foreach($this->Sections as $sec){ $divlist->AddEntry(array( array("string"=>$sec),