From: hickert Date: Fri, 22 Feb 2008 14:44:20 +0000 (+0000) Subject: Updated acl Management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=006731dc3d38735095f68e796a00dbf5797e7199;p=gosa.git Updated acl Management -Reenabled role creation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9083 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 75721a269..88238171b 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -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";