From ff989cb68ddd2a6176ee7f1fffc1a76c690b11e7 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 28 Dec 2009 08:25:47 +0000 Subject: [PATCH] Enabled ACL-Role creation with new lists. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14947 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/acl/acl-list.xml | 10 ++-------- gosa-core/plugins/admin/acl/class_aclManagement.inc | 9 +++++++++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/gosa-core/plugins/admin/acl/acl-list.xml b/gosa-core/plugins/admin/acl/acl-list.xml index ec6ed4a99..73a057442 100644 --- a/gosa-core/plugins/admin/acl/acl-list.xml +++ b/gosa-core/plugins/admin/acl/acl-list.xml @@ -78,16 +78,10 @@ new entry - plugins/users/images/list_new_user.png - - - - - new_role - entry - plugins/users/images/select_template.png + plugins/acl/images/role.png + diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 35f412745..68009793e 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -109,6 +109,15 @@ class aclManagement extends management } + function newEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="") + { + $this->skipFooter = TRUE; + $altTabClass = "aclroletab"; + $altTabType = "ACLROLES"; + $this->config->data['TABS'][$altTabType] =NULL; + management::newEntry($action,$target,$all,$altTabClass,$altTabType,$altAclCategory); + } + function editEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="") { $this->config->data['TABS'][$this->tabClass] =NULL; -- 2.30.2