From: hickert Date: Tue, 26 Sep 2006 06:32:15 +0000 (+0000) Subject: Fixed repository acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e4e0967cb65ccfb198426adb77f7e1d7b4e9d0ac;p=gosa.git Fixed repository acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4771 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servRepositorySetup.inc b/plugins/admin/systems/class_servRepositorySetup.inc index 3ed15dfab..f186bf912 100644 --- a/plugins/admin/systems/class_servRepositorySetup.inc +++ b/plugins/admin/systems/class_servRepositorySetup.inc @@ -128,8 +128,15 @@ class servRepositorySetup extends plugin /* Save data to object */ function save_object() - { - plugin::save_object(); + { + if(isset($_POST['servRepositorySetup_Posted'])) { + + foreach($this->attributes as $attr){ + if(($this->parent->acl_is_writeable($attr)) && (isset($_POST[$attr]))){ + $this->$attr = $_POST[$attr]; + } + } + } } diff --git a/plugins/admin/systems/servRepositorySetup.tpl b/plugins/admin/systems/servRepositorySetup.tpl index 210d853c1..29691ec44 100644 --- a/plugins/admin/systems/servRepositorySetup.tpl +++ b/plugins/admin/systems/servRepositorySetup.tpl @@ -49,6 +49,7 @@ +