From: hickert Date: Wed, 8 Sep 2010 09:38:09 +0000 (+0000) Subject: Added permission check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ca715cdca3e218c037da8991e6dcc66e78425bd0;p=gosa.git Added permission check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19562 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/groupware/personal/groupware/class_groupware.inc b/gosa-plugins/groupware/personal/groupware/class_groupware.inc index 866144dc5..cc3b7b6dc 100644 --- a/gosa-plugins/groupware/personal/groupware/class_groupware.inc +++ b/gosa-plugins/groupware/personal/groupware/class_groupware.inc @@ -449,7 +449,9 @@ class groupware extends plugin // Get posted flag changes $flagAttrs = array("localDeliveryOnly","dropOwnMails"); foreach($flagAttrs as $attr){ - $this->$attr = isset($_POST[$attr]); + if($this->acl_is_writeable($attr)){ + $this->$attr = isset($_POST[$attr]); + } } } }