From: hickert Date: Wed, 20 Sep 2006 05:19:10 +0000 (+0000) Subject: Fixed acls for logging database service X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=45450ee05e76e3a468ead60dc403fcccd9bd75b1;p=gosa.git Fixed acls for logging database service git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4736 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_goLogDBServer.inc b/plugins/admin/systems/class_goLogDBServer.inc index dd10fa363..75b31b140 100644 --- a/plugins/admin/systems/class_goLogDBServer.inc +++ b/plugins/admin/systems/class_goLogDBServer.inc @@ -34,9 +34,14 @@ class goLogDBServer extends goService{ function execute() { $smarty = get_smarty(); + + $tmp = $this->plInfo(); + foreach($tmp['plProvidedAcls'] as $name => $translation){ + $smarty->assign($name."ACL",$this->getacl($name)); + } + foreach($this->attributes as $attr){ $smarty->assign($attr,$this->$attr); - $smarty->assign($attr."ACL",chkacl($this->acl,$attr)); } return($smarty->fetch(get_template_path("goLogDBServer.tpl",TRUE,dirname(__FILE__)))); } diff --git a/plugins/admin/systems/goLogDBServer.tpl b/plugins/admin/systems/goLogDBServer.tpl index ea6405053..dd286dfc4 100644 --- a/plugins/admin/systems/goLogDBServer.tpl +++ b/plugins/admin/systems/goLogDBServer.tpl @@ -2,11 +2,19 @@ - + - +
{t}Logging DB user{/t}{$must} +{render acl=$goLogAdminACL} + +{/render} +
{t}Password{/t}{$must} +{render acl=$goLogPasswordACL} + +{/render} +