From f9ccbe8dbadcaf12b91b1f8b98715140a8df3db8 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 Jul 2006 08:21:50 +0000 Subject: [PATCH] Fixed application acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4197 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../applications/class_applicationGeneric.inc | 47 +++++++++++-------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 827d0c1f3..967eaaf63 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -470,28 +470,35 @@ class application extends plugin } - /* Return plugin informations for acl handling */ + /* Return plugin informations for acl handling + #FIXME FAIscript seams to ununsed within this class... */ function plInfo() { - return (array( - "plDescription" => _("Applications"), - "plSelfModify" => FALSE, - "plDepends" => array("objectClass" => "gosaApplication"), - "cn" => _("Name"), - "description" => _("Description"), - - "gosaApplicationExecute" => _("Execute"), - "gosaApplicationName" => _("Name"), - "gosaApplicationIcon" => _("Icon"), - "gosaApplicationFlags" => _("Flag"), - "gotoLogonScript" => _("Script content"), - - "exec_for_groupmembers" => _("Only executable for members"), // G - "place_on_desktop" => _("Place icon on members desktop"), // D - "place_on_kicker" => _("Place entry in members launch bar"), // L - "place_in_startmenu" => _("Place entry in members startmenu"), // M - "overwrite_config" => _("Replace user configuration on startup"))); // O - + return (array( + "plShortName" => _("Generic"), + "plDescription" => _("Application generic"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("application" => array("description" => _("Application"), + "objectClass" => "gosaApplication")), + "plProvidedAcls"=> array( + "cn" => _("Name"), + "description" => _("Description"), + "gosaApplicationExecute" => _("Execute"), + "gosaApplicationName" => _("Name"), + "gosaApplicationIcon" => _("Icon"), + "gosaApplicationFlags" => _("Flag"), + "gotoLogonScript" => _("Script content"), + "gosaApplicationParameter"=> _("Application parameter"), + + "exec_for_groupmembers" => _("Only executable for members"), // G + "place_on_desktop" => _("Place icon on members desktop"), // D + "place_on_kicker" => _("Place entry in members launch bar"), // L + "place_in_startmenu" => _("Place entry in members startmenu"), // M + "overwrite_config" => _("Replace user configuration on startup")) // O + )); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2