Code

Added role base check
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 10:12:22 +0000 (10:12 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 10:12:22 +0000 (10:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15531 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc

index 1d5be44be816154f66a101f32fe6923fa0474692..dcada60819a175d53506497f95a48cf960cf654b 100644 (file)
@@ -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"));