From: hickert Date: Tue, 17 May 2005 06:21:20 +0000 (+0000) Subject: Fixed new user creation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5a8750593221fa508d8317822b5ee44f6cdfe270;p=gosa.git Fixed new user creation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@219 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 99079e34d..3368cc418 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -838,7 +838,7 @@ class user extends plugin $acl= get_module_permission($acl, "user", $new_dn); if ($this->dn == "new" && chkacl($acl, "create") != ""){ $message[]= _("You have no permissions to create a user on this 'Base'."); - } elseif ($this->dn != $new_dn){ + } elseif ($this->dn != $new_dn && $this->dn != "new"){ $acl= get_permissions ($this->dn, $ui->subtreeACL); $acl= get_module_permission($acl, "user", $this->dn); if (chkacl($acl, "create") != ""){