From: hickert Date: Wed, 16 Jul 2008 11:48:00 +0000 (+0000) Subject: Updated user base select dialog ACL check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=324dcd60da02dc6953a14a5a6c32868cea91c681;p=gosa.git Updated user base select dialog ACL check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11682 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 30bc2b471..dd60b93f0 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -321,7 +321,7 @@ class user extends plugin /* Base select dialog */ $once = true; foreach($_POST as $name => $value){ - if(preg_match("/^chooseBase/",$name) && $once){ + if(preg_match("/^chooseBase/",$name) && $once && $this->acl_is_writeable("base")){ $once = false; $this->dialog = new baseSelectDialog($this->config,$this,$this->allowedBasesToMoveTo()); $this->dialog->setCurrentBase($this->base);