From d424533eb17cc34c2a8d6f9047bef89aff5af763 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 Jul 2006 08:59:55 +0000 Subject: [PATCH] Added ogroups acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4200 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/ogroups/class_mailogroup.inc | 20 +++++++++ plugins/admin/ogroups/class_ogroup.inc | 19 +++++++++ plugins/admin/ogroups/class_phonequeue.inc | 42 +++++++++++++++++++ plugins/admin/ogroups/class_termgroup.inc | 21 ++++++++++ .../systems/class_workstationService.inc | 2 +- .../systems/class_workstationStartup.inc | 2 +- 6 files changed, 104 insertions(+), 2 deletions(-) diff --git a/plugins/admin/ogroups/class_mailogroup.inc b/plugins/admin/ogroups/class_mailogroup.inc index 55e8b4795..b11190942 100644 --- a/plugins/admin/ogroups/class_mailogroup.inc +++ b/plugins/admin/ogroups/class_mailogroup.inc @@ -147,6 +147,26 @@ class mailogroup extends plugin $this->mail = $_POST['mail']; } } + + + function plInfo() + { + return (array( + "plShortName" => _("Mail"), + "plDescription" => _("Mail group"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("ogroups"), + "plProvidedAcls"=> array( + "mail" => _("Mail address")) + )); + } + + + + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/admin/ogroups/class_ogroup.inc b/plugins/admin/ogroups/class_ogroup.inc index 6ddada346..9a220b980 100644 --- a/plugins/admin/ogroups/class_ogroup.inc +++ b/plugins/admin/ogroups/class_ogroup.inc @@ -745,6 +745,25 @@ class ogroup extends plugin $this->cn = $_POST['cn']; } } + + + function plInfo() + { + return (array( + "plShortName" => _("Generic"), + "plDescription" => _("Object group generic"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("ogroups" => array("description" => _("Object groups"), + "objectClass" => "gosaGroupOfNames")), + "plProvidedAcls"=> array( + "cn" => _("Name"), + "description" => _("Description"), + "member" => _("Member")) + )); + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/admin/ogroups/class_phonequeue.inc b/plugins/admin/ogroups/class_phonequeue.inc index 260fda96f..d20ad03dc 100644 --- a/plugins/admin/ogroups/class_phonequeue.inc +++ b/plugins/admin/ogroups/class_phonequeue.inc @@ -702,6 +702,48 @@ class phonequeue extends plugin } + function plInfo() + { + return (array( + "plShortName" => _("Phone"), + "plDescription" => _("Phone group"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("ogroups"), + "plProvidedAcls"=> array( + + "goFonTimeOut" => _("Timeout"), + "goFonMaxLen" => _("Max queue lenght"), + "goFonAnnounceFrequency" => _(" Announce frequency"), + "goFonDialOption_t" => _("Allow the called user to transfer his call"), + "goFonDialOption_T" => _("Allows calling user to transfer call"), + "goFonDialOption_h" => _("Allow the called to hangup by pressing *"), + "goFonDialOption_r" => _("Ring instead of playing background music"), + "goFonDialOption_H" => _("Allows calling to hangup by pressing *"), + + "goFonMusiconHold" => _("Music on hold"), + "goFonWelcomeMusic" => _("Welcome music"), + "goFonQueueReportHold" => _("Report hold time"), + "goFonQueueYouAreNext" => _("'You are next' sound"), + "goFonQueueThereAre" => _("'There are' sound"), + "goFonQueueCallsWaiting" => _("'Call waiting' sound"), + "goFonQueueThankYou" => _("'Thank you' sound"), + "goFonQueueMinutes" => _("'Minutes' sound"), + "goFonQueueSeconds" => _("'Second' sound"), + "goFonQueueLessThan" => _("'Less than' sound"), + "telephoneNumber" => _("Queue phone number"), + "goFonQueueLanguage" => _("Language"), + "goFonQueueStrategy" => _("Method"), + "goFonQueueAnnounceHoldtime"=> _("Announce holdtime"), + "goFonQueueAnnounce" => _("Announce"), + "goFonQueueRetry" => _("Retry")) + )); + } + + + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/admin/ogroups/class_termgroup.inc b/plugins/admin/ogroups/class_termgroup.inc index 6f9b053ab..1a5daaef8 100644 --- a/plugins/admin/ogroups/class_termgroup.inc +++ b/plugins/admin/ogroups/class_termgroup.inc @@ -342,6 +342,27 @@ class termgroup extends plugin } show_ldap_error($ldap->get_error(), sprintf(_("Removing of object group/workstation with dn '%s' failed."),$this->dn)); } + + function plInfo() + { + return (array( + "plShortName" => _("System"), + "plDescription" => _("System group"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("ogroups"), + "plProvidedAcls"=> array( + "gotoMode" => _("Mode"), + "gotoSyslogServer" => _("Syslog server"), + "FAIstate" => _("Action flag"), + "gotoNtpServer" => _("Ntp server")) + )); + } + + + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index cbf0a3224..1be02c93c 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -432,7 +432,7 @@ class workservice extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), - "plCategory" => array("workstation"), + "plCategory" => array("workstation","ogroups"), "plProvidedAcls"=> array( "gotoXMonitor" => _("Monitor"), diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 5c1bb1d1c..5d7e1bb90 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -1085,7 +1085,7 @@ class workstartup extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), - "plCategory" => array("workstation","server"), + "plCategory" => array("workstation","server","ogroups"), "plProvidedAcls"=> array( "gotoLdapServer" => _("Ldap server"), -- 2.30.2