From 73ad9c56341b262e3e88a5a0a90613ff261696d3 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 4 Dec 2006 12:05:02 +0000 Subject: [PATCH] Fixed Package & Profile acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5299 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiManagement.inc | 2 +- plugins/admin/fai/class_faiPackage.inc | 6 +++--- plugins/admin/fai/class_faiProfile.inc | 2 +- plugins/admin/fai/faiPackage.tpl | 16 ++++++++++++---- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 1afeec431..68078e36a 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -514,7 +514,7 @@ class faiManagement extends plugin $acl = $this->ui->get_permissions($this->DivListFai->selectedBase,"fai/faiProfile"); if(preg_match("/c/",$acl)){ $a_setup= $this->get_type(array("objectClass"=>array("FAIprofile"))); - $this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"faiProfile"); + $this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"fai"); $this->dialog->set_acl_base($_SESSION['CurrentMainBase']); $this->is_dialog = false; diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index bb06019cd..088c3c04b 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -529,17 +529,17 @@ class faiPackage extends plugin "plDescription" => _("FAI Package list"), "plSelfModify" => FALSE, "plDepends" => array(), - "plPriority" => 30, + "plPriority" => 28, "plSection" => array("administration"), "plCategory" => array("fai"), "plProvidedAcls" => array( "cn" => _("Name"), "description" => _("Description"), "FAIpackage" => _("Packages"), - "FAIdebianSection" => _("Section"), + "FAIdebianSection" => _("Section")." ("._("Readonly").")", "FAIinstallMethod" => _("Install Method"), "FAIdebconfInfo" => _("Package configuration"), - "FAIdebianRelease" => _("Release")) + "FAIdebianRelease" => _("Release")." ("._("Readonly").")") )); } } diff --git a/plugins/admin/fai/class_faiProfile.inc b/plugins/admin/fai/class_faiProfile.inc index a4ae41356..568d120f2 100644 --- a/plugins/admin/fai/class_faiProfile.inc +++ b/plugins/admin/fai/class_faiProfile.inc @@ -444,7 +444,7 @@ class faiProfile extends plugin "plDescription" => _("FAI profile"), "plSelfModify" => FALSE, "plDepends" => array(), - "plPriority" => 28, + "plPriority" => 30, "plSection" => array("administration"), "plCategory" => array("fai"), "plProvidedAcls" => array( diff --git a/plugins/admin/fai/faiPackage.tpl b/plugins/admin/fai/faiPackage.tpl index 1dfd31983..4986d856a 100644 --- a/plugins/admin/fai/faiPackage.tpl +++ b/plugins/admin/fai/faiPackage.tpl @@ -74,10 +74,18 @@ {html_options options=$usedPackages}
- - - - +{render acl=$FAIpackageACL} + +{/render} +{render acl=$FAIpackageACL} + +{/render} +{render acl=$FAIdebconfInfoACL} + +{/render} +{render acl=$FAIpackageACL} + +{/render} -- 2.30.2