From 954081d6200ff7438c56be6ac1a81f2f17421719 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 8 Oct 2010 07:01:37 +0000 Subject: [PATCH] Updated user creation handling via template. -Allow to select another base without having move permissions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19943 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index c677268d0..619e12025 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -809,7 +809,8 @@ class user extends plugin plugin::save_object (); /* Refresh base */ - if ($this->acl_is_moveable($this->base)){ + if ($this->acl_is_moveable($this->base) || + ($this->dn == "new" && $this->acl_is_createable($this->base))){ if (!$this->baseSelector->update()) { msg_dialog::display(_("Error"), msgPool::permMove(), ERROR_DIALOG); } -- 2.30.2