Code

Updated acl Management
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 14:44:20 +0000 (14:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 14:44:20 +0000 (14:44 +0000)
-Reenabled role creation

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9083 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/acl/class_aclManagement.inc

index 75721a269400ee97302987a22dbbeedb83a268b1..88238171b072fe44f5af826733bb03ba5a02e026 100644 (file)
@@ -54,7 +54,7 @@ class aclManagement extends plugin
     /* Call parent execute */
     plugin::execute();
 
-    session::set('LOCK_VARS_TO_USE',array("/^list/","/^id_/","/^list_acl_role_del/","/^list_acl_del/"));
+    session::set('LOCK_VARS_TO_USE',array("/^list/","/^id_/","/^list_acl_role_del/","/^list_acl_del/","/^menu_action/"));
 
     $smarty       = get_smarty();                 // Smarty instance
     $s_action     = "";                           // Contains the action to be taken
@@ -129,6 +129,7 @@ class aclManagement extends plugin
     if(isset($_POST['menu_action']) && preg_match("/^remove_multiple/",$_POST['menu_action'])){
       $s_action = "del_multiple";
     }
+
  
     /********************
       Copy & Paste Handling  ...
@@ -145,7 +146,7 @@ class aclManagement extends plugin
      * Add new Role entry 
      ********************/
 
-    if(($s_action == "addrole") && (!isset($this->acltabs->config))){
+    if(($s_action == "new") && (!isset($this->acltabs->config))){
 
       /* Get 'dn' from posted acl, must be unique */
       $this->dn= "new";