From 2246062a727b4f1776243f52f4c654f25d307c35 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 14 Nov 2006 05:48:04 +0000 Subject: [PATCH] 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 --- .../personal/connectivity/class_connectivity.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 { -- 2.30.2