From c8fca1cfbf95df5e9f8715e2e86764cdb989492e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 May 2008 10:08:01 +0000 Subject: [PATCH] Updated group create check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11077 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/groups/class_groupGeneric.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc index 78f1d6293..7f27fcfe0 100644 --- a/gosa-core/plugins/admin/groups/class_groupGeneric.inc +++ b/gosa-core/plugins/admin/groups/class_groupGeneric.inc @@ -1119,9 +1119,9 @@ class group 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->orig_base && !$this->acl_is_moveable($this->base)){ $message[] = msgPool::permMove(); } -- 2.30.2