From 533118443102dad512102222dc5d00028fd24544 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 1 Feb 2010 10:12:22 +0000 Subject: [PATCH] Added role base check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15531 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/roleManagement/class_roleGeneric.inc | 5 +++++ 1 file changed, 5 insertions(+) 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")); -- 2.30.2