From: hickert Date: Wed, 28 May 2008 10:09:23 +0000 (+0000) Subject: Updated create check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d14bfdb22ac5d654fd4a0b64ebb793c0876ab072;p=gosa.git Updated create check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11079 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index 34464dcdc..bdfd1f08b 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -874,9 +874,9 @@ class ogroup extends plugin /* Check if we are allowed to create or move this object */ - if($this->dn == "new" && !$this->acl_is_createable($this->base)){ + if($this->orig_dn == "new" && !$this->acl_is_createable($this->base)){ $message[] = msgPool::permCreate(); - }elseif($this->cn != $this->orig_cn || $this->base != $this->orig_base && !$this->acl_is_moveable($this->base)){ + }elseif($this->base != $this->orig_base && !$this->acl_is_moveable($this->base)){ $message[] = msgPool::permMove(); }