From 1f9c3125c93ca319c938149a76b9621de591fe12 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 6 Dec 2006 06:59:40 +0000 Subject: [PATCH] Removed base check, is not nescessary here. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5311 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/generic/class_user.inc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 9c7caddc2..6ecd0e18c 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1052,14 +1052,6 @@ class user extends plugin $this->set_acl_base($this->base); } - if ($this->dn == "new" && !$this->acl_is_createable()){ - $message[]= _("You have no permissions to create a user on this 'Base'."); - } elseif ($this->dn != $new_dn && $this->dn != "new"){ - if (!$this->acl_is_writeable($this->dn, "user","create",(!is_object($this->parent) && !isset($_SESSION['edit'])))){ - $message[]= _("You have no permissions to move this user to the specified 'Base'."); - } - } - /* must: sn, givenName, uid */ if ($this->sn == "" && ($this->acl_is_writeable("sn",(!is_object($this->parent) && !isset($_SESSION['edit'])) || ($this->is_new)))){ $message[]= _("The required field 'Name' is not set."); -- 2.30.2