diff --git a/plugins/personal/connectivity/class_connectivity.inc b/plugins/personal/connectivity/class_connectivity.inc
index fbf45eef1de8828cad6a7ad8f01960a01f92259e..83252cc8a75011f80f57e8f2c8aae3718bbde9d7 100644 (file)
/* Execude objects */
$is_first= true;
+
+ $ReadOnly = (!is_object($this->parent) && !isset($_SESSION['edit']));
+
foreach ($this->plugin_name as $name){
+ $this->plugin[$name]->ReadOnly = $ReadOnly;
if (!$is_first){
$display.= '<p class="seperator"> </p>';
} else {
}
}
- /* Return plugin informations for acl handling
+/* Return plugin informations for acl handling
#FIXME We should check here, if the user has access to one of the subClasses */
function plInfo()
{
"plDepends" => array("user"),
"plPriority" => 5, // Position in tabs
"plSection" => "personal", // This belongs to personal
- "plCategory" => array("gosaAccount"),
+ "plCategory" => array("users"),
"plOptions" => array(),
- "plProvidedAcls" => array(
- "connectivity" => "!!! FIXME "._("Connectivity account"))
+ "plProvidedAcls" => array()
));
}
}