Code

Added terminal acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 07:02:30 +0000 (07:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 07:02:30 +0000 (07:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4188 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_terminalGeneric.inc
plugins/admin/systems/class_terminalService.inc
plugins/admin/systems/class_terminalStartup.inc

index c3f08d653b3d4d01f3f8a645c41e20e2043383e1..97323def2de6efccba28659c111137f00adb9f62 100644 (file)
@@ -479,6 +479,30 @@ class termgeneric extends plugin
     $this->postcreate();
   }
 
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Terminal"),
+          "plDescription" => _("Terminal generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("terminal" => array( "description"  => _("Terminal"),
+                                                        "objectClass"  => _("gotoTerminal"))),
+          "plProvidedAcls"=> array(
+            "gotoMode"            => _("Mode"),
+            "gotoTerminalPath"    => _("Root server"),
+            "gotoSwapServer"      => _("Swap server"),
+            "gotoSyslogServer"    => _("Syslog server enabled"),
+            "gotoNtpServer"       => _("Ntp server settings"),
+            "base"                => _("Base"),
+            "cn"                  => _("Name"),
+            "FAIstate"            => _("Action flag"))
+          ));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 6be26538e297aa5011eaed1f4edf14cd65a6b846..02254f7225db803748d0d91521dee6efbcb3c585 100644 (file)
@@ -417,6 +417,43 @@ class termservice extends plugin
     $this->handle_post_events("modify");
   }
 
+
+/* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Service"),
+          "plDescription" => _("Terminal service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("workstation"),
+
+          "plProvidedAcls"=> array(
+            "gotoXMonitor"            => _("Monitor"),
+            "gotoXMethod"             => _("Method"),
+            "gotoXdmcpServer"         => _("Remote desktop"),
+            "gotoFontPath"            => _("Font path"),
+            "gotoXDriver"             => _("Gfx driver"),
+            "gotoXResolution"         => _("Gfx resolution"),
+            "gotoXColordepth"         => _("Gfx color depth"),
+            "gotoXHsync"              => _("Hsync"),
+            "gotoXVsync"              => _("Vsync"),
+            "gotoLpdEnable"           => _("Printer service enabled"),
+            "gotoLpdServer"           => _("Spool server"),
+            "gotoScannerEnable"       => _("Scanner enabled"),
+            "gotoScannerModel"        => _("Scanner modell"),
+            "gotoScannerClients"      => _(""),
+            "gotoScannerBackend"      => _(""),
+            "gotoXKbModel"            => _("Keyboard modell"),
+            "gotoXKbLayout"           => _("Keyboard layout"),
+            "gotoXKbVariant"          => _("Keyborad variant"),
+            "gotoXMouseType"          => _("Mouse type"),
+            "gotoXMouseport"          => _("Mouse port"),
+            "goFonHardware"           => _("Telephone hardware"))
+          ));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index cba2b395433bc77f11cea64347025aef3e68333f..b646b24208d99ecaa30b3d62cf6e03b76cf6b0e7 100644 (file)
@@ -424,6 +424,25 @@ class termstartup extends plugin
     return($a_return);
   }
 
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Startup"),
+          "plDescription" => _("Terminal startup"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("terminal"),
+
+          "plProvidedAcls"=> array(
+            "gotoLdapServer"      => _("Ldap server"), 
+            "gotoBootKernel"      => _("Boot kernel"), 
+            "gotoKernelParameters"=> _("Kernel paramenter"))
+          ));
+  }
+
 
 }