From: hickert Date: Tue, 14 Nov 2006 05:48:04 +0000 (+0000) Subject: Fixed Connectivity acls. To ensure correct Copy & Paste behavior X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2246062a727b4f1776243f52f4c654f25d307c35;p=gosa.git Fixed Connectivity acls. To ensure correct Copy & Paste behavior git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5091 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/connectivity/class_connectivity.inc b/plugins/personal/connectivity/class_connectivity.inc index 22427cb52..7d5d89375 100644 --- a/plugins/personal/connectivity/class_connectivity.inc +++ b/plugins/personal/connectivity/class_connectivity.inc @@ -124,6 +124,21 @@ class connectivity extends plugin return ($message); } + function set_acl_category($cat) + { + plugin::set_acl_category($cat); + foreach ($this->plugin_name as $name){ + $this->plugin[$name]->set_acl_category( $cat); + } + } + + function set_acl_base($base) + { + plugin::set_acl_base($base); + foreach ($this->plugin_name as $name){ + $this->plugin[$name]->set_acl_base( $base); + } + } /* Save to LDAP */ function save() @@ -131,6 +146,7 @@ class connectivity extends plugin /* Save objects */ foreach ($this->plugin_name as $name){ $this->plugin[$name]->dn= $this->dn; + if ($this->plugin[$name]->is_account){ $this->plugin[$name]->save(); } else {