diff --git a/plugins/personal/connectivity/class_webdavAccount.inc b/plugins/personal/connectivity/class_webdavAccount.inc
index 7a96a0ea161ca9baa4f2bf851ca9952e4f67600b..58acf40cb86588e377560856a93650a9526c5eeb 100644 (file)
/* attribute list for save action */
var $attributes= array();
var $objectclasses= array("gosaWebdavAccount");
+ var $ReadOnly = false;
function webdavAccount ($config, $dn= NULL)
{
$smarty->assign("tabbed", 1);
}
- if(($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable())) {
+ if((!$this->ReadOnly) && (($this->is_account && $this->acl_is_removeable()) || (!$this->is_account && $this->acl_is_createable()))) {
$smarty->assign('webdavAccountACL', "");
}else{
$smarty->assign('webdavAccountACL', " disabled ");
"plCategory" => array("users"),
"plOptions" => array(),
- "plProvidedAcls" => array(
- "gosaWebdavAccount" => "!!! FIXME "._("WebDAV account"))
+ "plProvidedAcls" => array()
));
}
}