From 324dcd60da02dc6953a14a5a6c32868cea91c681 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 16 Jul 2008 11:48:00 +0000 Subject: [PATCH] Updated user base select dialog ACL check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11682 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2