summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fe030b2)
raw | patch | inline | side by side (parent: fe030b2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Jul 2006 11:13:39 +0000 (11:13 +0000) | ||
committer | hickert <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
index ad36377c53174a60260005accfbde831652cb380..3c40b6bf9ba3a3e3ffa11b37da519b6fe9907320 100644 (file)
$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:
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index 976f42105d49ac112e468aeebc0d34a80cb21254..f689de9e03d3b550ecafe88cacf579fd60a7dfa5 100644 (file)
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:
diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc
index 6225cbe33e74da9d4ce2a049d859a48977db4c7d..2293bc4fb928b2c07f500af30c21bd50f8a24540 100644 (file)
$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:
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index f783bfa9b948ad46630ddc24534d7ab4b95739d2..33088b2670a8f51ff9bd7cb80164d511b33c0a29 100644 (file)
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: