Code

Some Workstation acls (not all)
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jul 2006 11:13:39 +0000 (11:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jul 2006 11:13:39 +0000 (11:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4159 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_termDNS.inc
plugins/admin/systems/class_workstationGeneric.inc
plugins/admin/systems/class_workstationService.inc
plugins/admin/systems/class_workstationStartup.inc

index ad36377c53174a60260005accfbde831652cb380..3c40b6bf9ba3a3e3ffa11b37da519b6fe9907320 100644 (file)
@@ -501,6 +501,19 @@ class termDNS extends plugin
     $str.="</select>";
     return($str); 
   }
+
+
+  /* Return plugin informations for acl handling  */ 
+  function plInfo()
+  {
+    return (array(  
+          "plDescription"     => _("DNS"),
+          "plSelfModify"      => FALSE,
+          "plDepends"         => array("objectClass" => array("gotoWorkstation")),
+
+          "ipHostNumber"  => _("IP address"),
+          "macAddress"    => _("MAC address")));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 976f42105d49ac112e468aeebc0d34a80cb21254..f689de9e03d3b550ecafe88cacf579fd60a7dfa5 100644 (file)
@@ -456,6 +456,38 @@ class workgeneric extends plugin
     show_ldap_error($ldap->get_error(), sprintf(_("Saving of system workstation/generic with dn '%s' failed."),$this->dn));
   }
 
+
+  /* Return plugin informations for acl handling 
+      #FIXME FAIscript seams to ununsed within this class... */ 
+  function plInfo()
+  {
+    return (array(  
+          "plDescription"     => _("Workstation"),
+          "plSelfModify"      => FALSE,
+          "plDepends"         => array("objectClass" => "gotoWorkstation","description"=>_("Workstation")),
+
+          "cn"                  => _("Workstation name"), 
+
+          "gotoMode"            => _("Goto mode"), 
+          "gotoSyslogServer"    => _("Syslog server"), 
+          "gotoNtpServer"       => _("Ntp server"), 
+          "FAIstate"            => _("Action flag"),
+
+//        "gotoFloppyEnable"    => _(""), 
+//        "gotoCdromEnable"     => _(""), 
+//        "gotoSndModule"       => _(""), 
+
+//        "ghCpuType"           => _(""), 
+//        "ghMemSize"           => _(""), 
+//        "ghUsbSupport"        => _(""), 
+//        "ghGfxAdapter"        => _(""), 
+//        "ghSoundAdapter"      => _(""), 
+//        "gotoLastUser"        => _(""), 
+//        "l"                   => _(""), 
+//          "FAIscript"           => _("FAI status ")
+            ));
+  }
+
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 6225cbe33e74da9d4ce2a049d859a48977db4c7d..2293bc4fb928b2c07f500af30c21bd50f8a24540 100644 (file)
@@ -422,6 +422,33 @@ class workservice extends plugin
     $this->handle_post_events("modify");
   }
 
+
+  /* Return plugin informations for acl handling  */ 
+  function plInfo()
+  {
+    return (array(  
+          "plDescription"     => _("Services"),
+          "plSelfModify"      => FALSE,
+          "plDepends"         => array("objectClass" => "gotoWorkstation"),
+
+          "gotoXMonitor"        => _("Monitor"),
+          "gotoXDriver"         => _("Driver"),
+          "gotoXResolution"     => _("Resolution"),
+          "gotoXColordepth"     => _("Color depth"),
+          "gotoXHsync"          => _("H sync"),
+          "gotoXVsync"          => _("V sync"),
+
+          "gotoScannerEnable"   => _("Enable scanner"),
+          "gotoScannerClients"  => _("Scanner client"),
+          "gotoScannerBackend"  => _("Scanner backend"),
+
+          "gotoXKbModel"        => _("Keyboard model"),
+          "gotoXKbLayout"       => _("Keyboard layout"),
+          "gotoXKbVariant"      => _("Keyboard Variant"),
+          "gotoXMouseType"      => _("Mouse type"),
+          "gotoXMouseport"      => _("Mouse port"),
+          "goFonHardware"       => _("Telefon Hardware")));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index f783bfa9b948ad46630ddc24534d7ab4b95739d2..33088b2670a8f51ff9bd7cb80164d511b33c0a29 100644 (file)
@@ -1074,6 +1074,23 @@ class workstartup extends plugin
     return($ret);
   }
 
+
+  /* Return plugin informations for acl handling  */ 
+  function plInfo()
+  {
+    return (array(  
+          "plDescription"     => _("Startup"),
+          "plSelfModify"      => FALSE,
+          "plDepends"         => array("objectClass" => "gotoWorkstation"),
+          "gotoLdapServer"        => _("Ldap server"),
+          "gotoBootKernel"        => _("Boot kernel"),
+          "gotoKernelParameters"  => _("Kernel parameter"),
+          "FAIclass"              => _("FAI classes"),
+          "FAIstatus"             => _("FAI status flag"),
+          "gotoShare"             => _("Shares"),
+          "FAIdebianMirror"       => _("Debian mirror"),
+          "FAIrelease"            => _("Debian release")));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: