Code

Removed base check, is not nescessary here.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Dec 2006 06:59:40 +0000 (06:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Dec 2006 06:59:40 +0000 (06:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5311 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc

index 9c7caddc218fcbcf9e4a3611fd92d005737c73d2..6ecd0e18c993d659f4318153943a78eb99d1508c 100644 (file)
@@ -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.");