From: hickert Date: Tue, 18 Jul 2006 07:02:30 +0000 (+0000) Subject: Added terminal acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47e08c93b0d39862fbd04057f6e87e5c0686c052;p=gosa.git Added terminal acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4188 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc index c3f08d653..97323def2 100644 --- a/plugins/admin/systems/class_terminalGeneric.inc +++ b/plugins/admin/systems/class_terminalGeneric.inc @@ -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: diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index 6be26538e..02254f722 100644 --- a/plugins/admin/systems/class_terminalService.inc +++ b/plugins/admin/systems/class_terminalService.inc @@ -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: diff --git a/plugins/admin/systems/class_terminalStartup.inc b/plugins/admin/systems/class_terminalStartup.inc index cba2b3954..b646b2420 100644 --- a/plugins/admin/systems/class_terminalStartup.inc +++ b/plugins/admin/systems/class_terminalStartup.inc @@ -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")) + )); + } + }