From 006731dc3d38735095f68e796a00dbf5797e7199 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Feb 2008 14:44:20 +0000 Subject: [PATCH] Updated acl Management -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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"; -- 2.30.2