From e7b70ce242b052c5e0d0dfd45dfac5e6f9f36ba3 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 Jul 2006 05:29:24 +0000 Subject: [PATCH] Updated acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4166 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../connectivity/class_connectivity.inc | 17 +++++++++++------ .../connectivity/class_intranetAccount.inc | 13 +++++++++++-- plugins/personal/generic/class_user.inc | 2 +- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/plugins/personal/connectivity/class_connectivity.inc b/plugins/personal/connectivity/class_connectivity.inc index bda3bfafc..fbf45eef1 100644 --- a/plugins/personal/connectivity/class_connectivity.inc +++ b/plugins/personal/connectivity/class_connectivity.inc @@ -165,17 +165,22 @@ class connectivity extends plugin } /* Return plugin informations for acl handling - #FIXME We should check here, if the user has access to sub one of the subClasses */ +#FIXME We should check here, if the user has access to one of the subClasses */ function plInfo() { return (array( - "plDescription" => _("Connectivity extension"), + "plShortName" => _("Connectivity"), + "plDescription" => _("Connectivity settings"), "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "gosaAccount"), - "connectivity" => "!!! FIXME "._("Conenctivity account"))); + "plDepends" => array("user"), + "plPriority" => 5, // Position in tabs + "plSection" => "personal", // This belongs to personal + "plCategory" => array("gosaAccount"), + "plOptions" => array(), + "plProvidedAcls" => array( + "connectivity" => "!!! FIXME "._("Connectivity account")) + )); } - - } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/personal/connectivity/class_intranetAccount.inc b/plugins/personal/connectivity/class_intranetAccount.inc index d20bd92f5..76ef17186 100644 --- a/plugins/personal/connectivity/class_intranetAccount.inc +++ b/plugins/personal/connectivity/class_intranetAccount.inc @@ -160,10 +160,19 @@ class intranetAccount extends plugin function plInfo() { return (array( + "plShortName" => _("Intranet"), + "plDepends" => array("connectivity"), + "plPriority" => 1, // Position in tabs + "plSection" => "personal", // This belongs to personal + "plCategory" => array("gosaAccount"), + "plOptions" => array(), + "plDescription" => _("Intranet account settings"), "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "gosaAccount"), - "gosaIntranetAccount" => "!!! FIME "._("GOsa intranet account"))); + + "plProvidedAcls" => array( + "gosaIntranetAccount" => "!!! FIXME "._("GOsa intranet account"))) + ); } } diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 20b88f15c..5f12349d0 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1311,7 +1311,7 @@ class user extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("personal" => _("My account")), - "plCategory" => array("users" => _("Users")), + "plCategory" => array("gosaAccount" => _("Users")), "plProvidedAcls" => array( "userPassword" => _("User password"), -- 2.30.2