From e8e6d9179f59649ca74c89f45fdc1719460c99f0 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 Jul 2006 08:28:13 +0000 Subject: [PATCH] Fixed group acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4198 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/groups/class_groupApplication.inc | 23 ++++++++--- plugins/admin/groups/class_groupMail.inc | 40 ++++++++----------- 2 files changed, 34 insertions(+), 29 deletions(-) diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index e53454695..9fffda879 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -1056,12 +1056,23 @@ class appgroup extends plugin /* Return plugin informations for acl handling */ function plInfo() { - return (array( - "plDescription" => _("Group applications"), - "plSelfModify" => FALSE, - "plDepends" => array("objectClass" => "posixGroup"), - "gosaMemberApplication" => _("Application"), - "gosaApplicationParameter" => _("Application parameter"))); + function plInfo() + { + return (array( + "plShortName" => _("Applications"), + "plDescription" => _("Group applications"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("groups"), + "plProvidedAcls"=> array( + "gosaMemberApplication" => _("Application"), + "gosaApplicationParameter" => _("Application parameter")) + )); + } + + } } diff --git a/plugins/admin/groups/class_groupMail.inc b/plugins/admin/groups/class_groupMail.inc index 6f8f4531b..c78710ef2 100644 --- a/plugins/admin/groups/class_groupMail.inc +++ b/plugins/admin/groups/class_groupMail.inc @@ -973,31 +973,25 @@ I: Only insider delivery */ } - /* Return plugin informations for acl handling */ + /* Return plugin informations for acl handling */ function plInfo() { - return (array( - "plDescription" => _("Group mail"), - "plSelfModify" => FALSE, - "plDepends" => array("objectClass" => "posixGroup"), - - "mail" => _("Mail address"), - "gosaMailAlternateAddress" => _("Alternate addresses"), - "gosaMailForwardingAddress" => _("Forwarding addresses"), - - "gosaMailQuota" => _("Quota size"), -// "gosaMailMaxSize" => _("Mail max size"), - - "gosaMailServer" => _("Mail server"), -// "gosaMailDeliveryMode" => _("Delivery mode"), - -// "gosaSpamSortLevel" => _(""), -// "gosaSpamMailbox" => _(""), - - "acl" => _(""), -// "gosaSharedFolderTarget" => _(""), -// "gosaVacationMessage" => _("") - )); + return (array( + "plShortName" => _("Mail"), + "plDescription" => _("Group mail"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("groups"), + "plProvidedAcls"=> array( + "mail" => _("Mail address"), + "gosaMailAlternateAddress" => _("Alternate addresses"), + "gosaMailForwardingAddress" => _("Forwarding addresses"), + "gosaMailQuota" => _("Quota size"), + "gosaMailServer" => _("Mail server"), + "acl" => _("Permissions")) + )); } } -- 2.30.2