Code

Updated services.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 07:13:51 +0000 (07:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 07:13:51 +0000 (07:13 +0000)
-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

22 files changed:
gosa-plugins/apache2/admin/systems/services/apache2/class_servApacheVhost.inc
gosa-plugins/dhcp/admin/systems/services/dhcp/class_servDHCP.inc
gosa-plugins/dns/admin/systems/services/dns/class_servDNS.inc
gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc
gosa-plugins/glpi/admin/systems/services/glpi/class_goGlpiServer.inc
gosa-plugins/gofax/admin/systems/services/gofax/class_goFaxServer.inc
gosa-plugins/gofon/admin/systems/services/gofon/class_goFonServer.inc
gosa-plugins/goto/admin/systems/services/cups/class_goCupsServer.inc
gosa-plugins/goto/admin/systems/services/kiosk/class_goKioskService.inc
gosa-plugins/goto/admin/systems/services/ldap/class_goLdapServer.inc
gosa-plugins/goto/admin/systems/services/ntp/class_goNtpServer.inc
gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc
gosa-plugins/goto/admin/systems/services/syslog/class_goLogDBServer.inc
gosa-plugins/goto/admin/systems/services/syslog/class_goSyslogServer.inc
gosa-plugins/goto/admin/systems/services/terminal/class_goTerminalServer.inc
gosa-plugins/kolab/admin/systems/services/kolab/class_servKolab.inc
gosa-plugins/log/admin/systems/services/log/class_gosaLogServer.inc
gosa-plugins/mail/admin/systems/services/imap/class_goImapServer.inc
gosa-plugins/mail/admin/systems/services/mail/class_goMailServer.inc
gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc
gosa-plugins/mail/admin/systems/services/virus/class_goVirusServer.inc
gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc

index d1abd1bfb1525c5bd9a6b54460766069e8e95698..1a26d45f80198c89d05f2c077a3b499b6548a57f 100644 (file)
@@ -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);
   }
 
index 9a323c9180d0e2fb5a4ea7c4351ddd5e34a2ca27..66fc736ec9232ab2d5aa89614b6bcf85b4944a7b 100644 (file)
@@ -737,7 +737,7 @@ class servdhcp extends goService
   {
     $fields               = goService::getListEntry();
     $fields['Message']    = _("DHCP service");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index a8ac86da8bdd7c2567a77e390545c0dd19659a1e..da0063ddf4b926139b87e97a8a5c56aefa833c3b 100644 (file)
@@ -545,7 +545,7 @@ class servdns extends goService
   {
     $fields               = goService::getListEntry(); 
     $fields['Message']    = _("DNS service");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index ec9095f40dbb402c246612c102c497027a1ecd88..759d45d7149232a529564046194540ddad0b4cb6 100644 (file)
@@ -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);
   }
 
index 07c07d427cccf039b5cd8c3b6040e1660fbd5c73..c7b4ab12c03f61199aee1f5c46cda92866ddd7c4 100644 (file)
@@ -56,7 +56,7 @@ class goGlpiServer extends goService {
   {
     $fields               = goService::getListEntry();
     $fields['Message']    = _("Inventory database service");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index 2043c0bd247f77ee8a4dfa79c69ed19fb890cb38..610f017876301ba9043c89bd2409f72d51ac090e 100644 (file)
@@ -57,7 +57,7 @@ class goFaxServer extends goService {
   {
     $fields               = goService::getListEntry();
     $fields['Message']    = _("FAX database configuration");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index 8561d3a395e505cdd037a443ac6c20cd274b0795..bfdb7b6464b7eba2cac23b97c91b7fac3a98c23f 100644 (file)
@@ -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);
   }
 
index 6fa572b9d6b8f09750e2fc475bce20e215f81cf3..f4a74c9783918d3c37854c553e788696408c7cf3 100644 (file)
@@ -46,7 +46,7 @@ class goCupsServer extends goService{
   {
     $fields = goService::getListEntry();
     $fields['Message']    = _("Print service");
-    $fields['AllowEdit']  = false;
+    #$fields['AllowEdit']  = false;
     return($fields);
   }
 
index ac517494218d685adff71277ac7df71a19b03dbe..07baffc6ec1e2f539bda7eb6b4361a0f782a4789 100644 (file)
@@ -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);
   }
 
index d305ecb647e08cc10151f09416bc65292dae66f1..f44c60fb7ea8cbbfaa0a4a78cbf289fea5cdc2b6 100644 (file)
@@ -54,7 +54,7 @@ class goLdapServer extends goService{
   {
     $fields  = goService::getListEntry();
     $fields['Message']    = _("LDAP service");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index a13f932b8d73b6d92505b637c77d26b68046bcd8..ef3d297a341f78a044b65df5a9c182e6359d05a0 100644 (file)
@@ -72,7 +72,7 @@ class goNtpServer extends goService{
   {
     $fields               = goService::getListEntry();
     $fields['Message']    = _("Time service (NTP)");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index 9f6a329eea86a5db1237d01dc395d733d840354b..23f527b527b4b1608fe5e8344eaad83be7f2d36d 100644 (file)
@@ -155,7 +155,7 @@ class goShareServer extends goService{
   {
     $fields = goService::getListEntry();
     $fields['Message']    = _("File service (Shares)");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index d245f8ff57d3141cc27db809af478c353b5aa060..7995688c42e9ccdaeffed2f179c20c62948ee969 100644 (file)
@@ -56,7 +56,7 @@ class goLogDBServer extends goService{
   {
     $fields = goService::getListEntry();
     $fields['Message']      = _("Syslog service database");
-    $fields['AllowEdit']    = true;
+    #$fields['AllowEdit']    = true;
     return($fields);
   }
 
index 9461977e2152f43878775edf1a298e48be9ab1fc..8758ce2ef1fb6313ff3f69c9f97bc8d479ea945f 100644 (file)
@@ -45,7 +45,7 @@ class goSyslogServer extends goService{
   {
     $fields               = goService::getListEntry();
     $fields['Message']    = _("Syslog server");
-    $fields['AllowEdit']  = false;
+    #$fields['AllowEdit']  = false;
     return($fields);
   }
 
index 463d9a48b6e64c860c3c0a45685284eacfc1be63..c276164ca718be196c413fb813bd7c8b01b0ac62 100644 (file)
@@ -77,7 +77,7 @@ class goTerminalServer extends goService{
   {
     $fields               = goService::getListEntry();
     $fields['Message']    = _("Terminal service");
-    $fields['AllowEdit']  = true;
+    #$fields['AllowEdit']  = true;
     return($fields);
   }
 
index 05fb98086e3a1e450f67c27dbf778fdf70e01a5f..2f318d1a33eac638fda770ac0b9cf85b9a62f31c 100644 (file)
@@ -367,7 +367,7 @@ class servkolab extends goService {
   {
     $fields                 = goService::getListEntry();
     $fields['Message']      = _("Kolab mail service");
-    $fields['AllowEdit']    = true;
+    #$fields['AllowEdit']    = true;
     return($fields);
   }
 
index bb3f507156e2c4c0784b171c44ea826ba90e50ff..ee9ec4425032cdec6821f20b6516be7e526b21a0 100644 (file)
@@ -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);
   }
 
index 8700e937a48a9b9406dc801a277e5ac3c317d34f..e324d0c83c21e449833ef805977270ef5a758260 100644 (file)
@@ -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);
   }
 
index 1417d1e192242dddfe5ce611e837b469884589bc..a737f9dbf1d39b05501b33d6b0548a549790ced2 100644 (file)
@@ -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);
   }
 
index 382fccaa5bca12536c906b81743600b825aa49ad..fa45c888b6f0b491d8575af6c803cd7511414f6a 100644 (file)
@@ -346,7 +346,7 @@ class gospamserver extends goService{
   {
     $fields                 = goService::getListEntry();
     $fields['Message']      = _("Spamassassin");
-    $fields['AllowEdit']    = true;
+    #$fields['AllowEdit']    = true;
     return($fields);
   }
 }
index d41e2383c22cabebc3ace0db9856d596f1852ce9..a8ca48572900b8eac7f66012cca5c13469094a5c 100644 (file)
@@ -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);
   }
index ce84ffd75d85bfd48249cba41a629178c104f467..70ae2244fdc4459bedf1961abb7ee5f36ce86849 100644 (file)
@@ -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);
   }