From ca715cdca3e218c037da8991e6dcc66e78425bd0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 8 Sep 2010 09:38:09 +0000 Subject: [PATCH] Added permission check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19562 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/groupware/personal/groupware/class_groupware.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]); + } } } } -- 2.30.2