Code

Added ogroups acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 08:59:55 +0000 (08:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 08:59:55 +0000 (08:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4200 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_mailogroup.inc
plugins/admin/ogroups/class_ogroup.inc
plugins/admin/ogroups/class_phonequeue.inc
plugins/admin/ogroups/class_termgroup.inc
plugins/admin/systems/class_workstationService.inc
plugins/admin/systems/class_workstationStartup.inc

index 55e8b4795a8c3f00256ff4ba5bc7587ed5ed0eba..b111909422cd8d26f39e86327aed189c067b218a 100644 (file)
@@ -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:
index 6ddada346c3e313f6347f3b9e9a9f3fa8d46b500..9a220b980b699612ef27147d7f581d6740786937 100644 (file)
@@ -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:
index 260fda96f47899b5deb796608b7003e516529eee..d20ad03dc719f015b9d0d352aece44d9a7f08ad0 100644 (file)
@@ -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:
index 6f9b053ab1368a8eb0040aaaf4f8516af3322c9c..1a5daaef84ff93b08c408ead740cba5bf166995b 100644 (file)
@@ -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:
index cbf0a3224cfa94c5c8542da78d96db93b857a9a6..1be02c93c88462246492859104af11979dcd55b3 100644 (file)
@@ -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"),
index 5c1bb1d1ca0c7004e861086bfffc037033a08577..5d7e1bb9083a8ac7e4c2c23302e6886704358230 100644 (file)
@@ -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"),