From: cajus Date: Mon, 1 Feb 2010 10:12:22 +0000 (+0000) Subject: Added role base check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=533118443102dad512102222dc5d00028fd24544;p=gosa.git Added role base check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15531 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc index 1d5be44be..dcada6081 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -228,6 +228,11 @@ class roleGeneric extends plugin { $message[]= msgPool::permMove(); } + // Check if a wrong base was supplied + if(!$this->baseSelector->checkLastBaseUpdate()){ + $message[]= msgPool::check_base();; + } + /* must: cn */ if ($this->cn == ""){ $message[]= msgPool::required(_("Name"));