From e4e0967cb65ccfb198426adb77f7e1d7b4e9d0ac Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Sep 2006 06:32:15 +0000 Subject: [PATCH] Fixed repository acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4771 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servRepositorySetup.inc | 11 +++++++++-- plugins/admin/systems/servRepositorySetup.tpl | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) 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 @@ +

  -- 2.30.2