diff --git a/plugins/personal/connectivity/class_webdavAccount.inc b/plugins/personal/connectivity/class_webdavAccount.inc
index 161e75f763e21116eab2f3d270c60fe0ef9fc020..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 ");