From: hickert Date: Mon, 17 Jul 2006 04:56:06 +0000 (+0000) Subject: Some acl udpates X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ad1d7ba7f8cad8892566c9439f73025111c6b649;p=gosa.git Some acl udpates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4163 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 2b89b228f..6896c217f 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -1249,12 +1249,13 @@ function printOutHotPlugDevices() #FIXME these ACLs should work for groups too */ function plInfo() { - return (array("plDescription" => _("Environment settings"), - "plSelfModify" => TRUE, - "plDepends" => array("user", "posixAccount"), - "plPriority" => 2, - "plSection" => "personal", - "plCategory" => array("users", "groups"), + return (array("plShortName" => _("Environment"), + "plDescription" => _("Environment settings"), // Description + "plSelfModify" => TRUE, + "plDepends" => array("user", "posixAccount"), // This plugin depends on + "plPriority" => 2, // Position in tabs + "plSection" => "personal", // This belongs to personal + "plCategory" => array("users", "groups"), // Add to following categories "plOptions" => array("resolution_hook" => array("type" => "string", "description" => _("Command to extend the list of possible screen resolutions"))), @@ -1273,7 +1274,5 @@ function printOutHotPlugDevices() } } - - // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 95b1f7728..20b88f15c 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1310,7 +1310,7 @@ class user extends plugin "plSelfModify" => TRUE, "plDepends" => array(), "plPriority" => 0, - "plSection" => array("personal" => _("My account"))), + "plSection" => array("personal" => _("My account")), "plCategory" => array("users" => _("Users")), "plProvidedAcls" => array( diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index fd5f367e9..30cef3ecc 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -978,28 +978,35 @@ class mailAccount extends plugin function plInfo() { - return (array("plDescription" => _("Mail settings"), + return (array( + "plShortName" => _("Mail"), + "plDescription" => _("Mail settings"), "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "gosaAccount"), - - "mail" => _("Mail address"), - "gosaMailServer" => _("Mail server"), - "gosaMailQuota" => _("Quota size"), - "gosaMailMaxSize" => _("Mail max size"), - "gosaMailForwardingAddress" => _("Forwarding address"), - "gosaMailDeliveryMode_L" => "FIXME"._("Local delivery"), // This is flag of gosaMailDeliveryMode - "gosaMailDeliveryMode_R" => "FIXME"._("Reject due to mailsize"), // This is flag of gosaMailDeliveryMode - "gosaMailDeliveryMode_s" => "FIXME"._("Use spam filter"), // This is flag of gosaMailDeliveryMode - "gosaMailDeliveryMode_V" => "FIXME"._("Add vacation information"), // This is flag of gosaMailDeliveryMode - "gosaMailDeliveryMode_C" => "FIXME"._("Use custom sieve script"), // This is flag of gosaMailDeliveryMode - "gosaMailDeliveryMode_I" => "FIXME"._("Only insider delivery"), // This is flag of gosaMailDeliveryMode - "gosaSpamSortLevel" => _("Spam level"), - "gosaSpamMailbox" => _("Spam mail box"), - "gosaMailAlternateAddress" => _("Mail alternative addresses"), - - "gosaVacationMessage" => _("Vacation message"), - "gosaMailForwardingAddress" => _("Forwarding address"))); - + "plDepends" => array("user"), // This plugin depends on + "plPriority" => 4, // Position in tabs + "plSection" => "personal", // This belongs to personal + "plCategory" => array("users"), // Add to following categories + "plOptions" => array(), + + "plProvidedAcls" => array( + "mail" => _("Mail address"), + "gosaMailServer" => _("Mail server"), + "gosaMailQuota" => _("Quota size"), + "gosaMailMaxSize" => _("Mail max size"), + "gosaMailForwardingAddress" => _("Forwarding address"), + "gosaMailDeliveryMode_L" => "FIXME"._("Local delivery"), // This is flag of gosaMailDeliveryMode + "gosaMailDeliveryMode_R" => "FIXME"._("Reject due to mailsize"), // This is flag of gosaMailDeliveryMode + "gosaMailDeliveryMode_s" => "FIXME"._("Use spam filter"), // This is flag of gosaMailDeliveryMode + "gosaMailDeliveryMode_V" => "FIXME"._("Add vacation information"), // This is flag of gosaMailDeliveryMode + "gosaMailDeliveryMode_C" => "FIXME"._("Use custom sieve script"), // This is flag of gosaMailDeliveryMode + "gosaMailDeliveryMode_I" => "FIXME"._("Only insider delivery"), // This is flag of gosaMailDeliveryMode + "gosaSpamSortLevel" => _("Spam level"), + "gosaSpamMailbox" => _("Spam mail box"), + "gosaMailAlternateAddress" => _("Mail alternative addresses"), + + "gosaVacationMessage" => _("Vacation message"), + "gosaMailForwardingAddress" => _("Forwarding address"))); + ) } }