From: hickert Date: Wed, 23 Jul 2008 07:13:51 +0000 (+0000) Subject: Updated services. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c2071f84896ab0d4126eb636f9cff81762126ba;p=gosa.git Updated services. -Start Stop depends on ACLs now. No longer hard coded. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11758 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/apache2/admin/systems/services/apache2/class_servApacheVhost.inc b/gosa-plugins/apache2/admin/systems/services/apache2/class_servApacheVhost.inc index d1abd1bfb..1a26d45f8 100644 --- a/gosa-plugins/apache2/admin/systems/services/apache2/class_servApacheVhost.inc +++ b/gosa-plugins/apache2/admin/systems/services/apache2/class_servApacheVhost.inc @@ -282,8 +282,8 @@ class servapache extends goService { $fields = goService::getListEntry(); $fields['Message'] = _("Apache service"); - $fields['AllowEdit'] = TRUE; - $fields['AllowRemove']= TRUE; + #$fields['AllowEdit'] = TRUE; + #$fields['AllowRemove']= TRUE; return($fields); } diff --git a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc index 9a323c918..66fc736ec 100644 --- a/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc +++ b/gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc @@ -737,7 +737,7 @@ class servdhcp extends goService { $fields = goService::getListEntry(); $fields['Message'] = _("DHCP service"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc index a8ac86da8..da0063ddf 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc @@ -545,7 +545,7 @@ class servdns extends goService { $fields = goService::getListEntry(); $fields['Message'] = _("DNS service"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index ec9095f40..759d45d71 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -306,8 +306,8 @@ class servrepository extends goService { $fields = goService::getListEntry(); $fields['Message'] = _("Repository service"); - $fields['AllowEdit'] = true; - $fields['AllowStart'] = $fields['AllowStop'] = $fields['AllowRestart'] = false; + #$fields['AllowEdit'] = true; + #$fields['AllowStart'] = #$fields['AllowStop'] = #$fields['AllowRestart'] = false; return($fields); } diff --git a/gosa-plugins/glpi/admin/systems/services/glpi/class_goGlpiServer.inc b/gosa-plugins/glpi/admin/systems/services/glpi/class_goGlpiServer.inc index 07c07d427..c7b4ab12c 100644 --- a/gosa-plugins/glpi/admin/systems/services/glpi/class_goGlpiServer.inc +++ b/gosa-plugins/glpi/admin/systems/services/glpi/class_goGlpiServer.inc @@ -56,7 +56,7 @@ class goGlpiServer extends goService { { $fields = goService::getListEntry(); $fields['Message'] = _("Inventory database service"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/gofax/admin/systems/services/gofax/class_goFaxServer.inc b/gosa-plugins/gofax/admin/systems/services/gofax/class_goFaxServer.inc index 2043c0bd2..610f01787 100644 --- a/gosa-plugins/gofax/admin/systems/services/gofax/class_goFaxServer.inc +++ b/gosa-plugins/gofax/admin/systems/services/gofax/class_goFaxServer.inc @@ -57,7 +57,7 @@ class goFaxServer extends goService { { $fields = goService::getListEntry(); $fields['Message'] = _("FAX database configuration"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/gofon/admin/systems/services/gofon/class_goFonServer.inc b/gosa-plugins/gofon/admin/systems/services/gofon/class_goFonServer.inc index 8561d3a39..bfdb7b646 100644 --- a/gosa-plugins/gofon/admin/systems/services/gofon/class_goFonServer.inc +++ b/gosa-plugins/gofon/admin/systems/services/gofon/class_goFonServer.inc @@ -63,7 +63,7 @@ class goFonServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("VoIP service")." - "._("Asterisk management"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/cups/class_goCupsServer.inc b/gosa-plugins/goto/admin/systems/services/cups/class_goCupsServer.inc index 6fa572b9d..f4a74c978 100644 --- a/gosa-plugins/goto/admin/systems/services/cups/class_goCupsServer.inc +++ b/gosa-plugins/goto/admin/systems/services/cups/class_goCupsServer.inc @@ -46,7 +46,7 @@ class goCupsServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Print service"); - $fields['AllowEdit'] = false; + #$fields['AllowEdit'] = false; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc b/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc index ac5174942..07baffc6e 100644 --- a/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc +++ b/gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc @@ -196,10 +196,10 @@ class goKioskService extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Kiosk profile service"); - $fields['AllowEdit'] = TRUE; - $fields['AllowStart'] = false; - $fields['AllowStop'] = false; - $fields['AllowRestart'] = false; + #$fields['AllowEdit'] = TRUE; + #$fields['AllowStart'] = false; + #$fields['AllowStop'] = false; + #$fields['AllowRestart'] = false; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc b/gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc index d305ecb64..f44c60fb7 100644 --- a/gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc +++ b/gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc @@ -54,7 +54,7 @@ class goLdapServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("LDAP service"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc b/gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc index a13f932b8..ef3d297a3 100644 --- a/gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc +++ b/gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc @@ -72,7 +72,7 @@ class goNtpServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Time service (NTP)"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc b/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc index 9f6a329ee..23f527b52 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc +++ b/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc @@ -155,7 +155,7 @@ class goShareServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("File service (Shares)"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc b/gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc index d245f8ff5..7995688c4 100644 --- a/gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc +++ b/gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc @@ -56,7 +56,7 @@ class goLogDBServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Syslog service database"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/syslog/class_goSyslogServer.inc b/gosa-plugins/goto/admin/systems/services/syslog/class_goSyslogServer.inc index 9461977e2..8758ce2ef 100644 --- a/gosa-plugins/goto/admin/systems/services/syslog/class_goSyslogServer.inc +++ b/gosa-plugins/goto/admin/systems/services/syslog/class_goSyslogServer.inc @@ -45,7 +45,7 @@ class goSyslogServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Syslog server"); - $fields['AllowEdit'] = false; + #$fields['AllowEdit'] = false; return($fields); } diff --git a/gosa-plugins/goto/admin/systems/services/terminal/class_goTerminalServer.inc b/gosa-plugins/goto/admin/systems/services/terminal/class_goTerminalServer.inc index 463d9a48b..c276164ca 100644 --- a/gosa-plugins/goto/admin/systems/services/terminal/class_goTerminalServer.inc +++ b/gosa-plugins/goto/admin/systems/services/terminal/class_goTerminalServer.inc @@ -77,7 +77,7 @@ class goTerminalServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Terminal service"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc b/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc index 05fb98086..2f318d1a3 100644 --- a/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc +++ b/gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc @@ -367,7 +367,7 @@ class servkolab extends goService { { $fields = goService::getListEntry(); $fields['Message'] = _("Kolab mail service"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/log/admin/systems/services/log/class_gosaLogServer.inc b/gosa-plugins/log/admin/systems/services/log/class_gosaLogServer.inc index bb3f50715..ee9ec4425 100644 --- a/gosa-plugins/log/admin/systems/services/log/class_gosaLogServer.inc +++ b/gosa-plugins/log/admin/systems/services/log/class_gosaLogServer.inc @@ -53,10 +53,10 @@ class gosaLogServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("GOsa MySQL logging service"); - $fields['AllowEdit'] = true; - $fields['AllowStart'] = FALSE; - $fields['AllowStop'] = FALSE; - $fields['AllowRestart'] = FALSE; + #$fields['AllowEdit'] = true; + #$fields['AllowStart'] = FALSE; + #$fields['AllowStop'] = FALSE; + #$fields['AllowRestart'] = FALSE; return($fields); } diff --git a/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc b/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc index 8700e937a..e324d0c83 100644 --- a/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc +++ b/gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc @@ -98,8 +98,8 @@ class goImapServer extends goService { { $fields = goService::getListEntry(); $fields['Message'] = _("IMAP/POP3 (Cyrus) service"); - $fields['AllowRemove']= true; - $fields['AllowEdit'] = true; + #$fields['AllowRemove']= true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc b/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc index 1417d1e19..a737f9dbf 100644 --- a/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc +++ b/gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc @@ -510,7 +510,7 @@ class goMailServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Mail smtp service (Postfix)"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } diff --git a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc index 382fccaa5..fa45c888b 100644 --- a/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc +++ b/gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc @@ -346,7 +346,7 @@ class gospamserver extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Spamassassin"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); } } diff --git a/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc b/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc index d41e2383c..a8ca48572 100644 --- a/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc +++ b/gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc @@ -206,7 +206,7 @@ class govirusserver extends goService{ function getListEntry() { $fields = goService::getListEntry(); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; $fields['Message'] = _("Anti virus"); return($fields); } diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc index ce84ffd75..70ae2244f 100644 --- a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc +++ b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc @@ -164,7 +164,7 @@ class goKrbServer extends goService{ { $fields = goService::getListEntry(); $fields['Message'] = _("Kerberos service (kadmin access informations)"); - $fields['AllowEdit'] = true; + #$fields['AllowEdit'] = true; return($fields); }