Code

Added server service acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 06:21:20 +0000 (06:21 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 06:21:20 +0000 (06:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4186 594d385d-05f5-0310-b6e9-bd551577e9d8

19 files changed:
plugins/admin/systems/class_goCupsServer.inc
plugins/admin/systems/class_goFaxServer.inc
plugins/admin/systems/class_goFonServer.inc
plugins/admin/systems/class_goGlpiServer.inc
plugins/admin/systems/class_goImapServer.inc
plugins/admin/systems/class_goKrbServer.inc
plugins/admin/systems/class_goLdapServer.inc
plugins/admin/systems/class_goLogDBServer.inc
plugins/admin/systems/class_goMailServer.inc
plugins/admin/systems/class_goNtpServer.inc
plugins/admin/systems/class_goShareServer.inc
plugins/admin/systems/class_goSyslogServer.inc
plugins/admin/systems/class_goTerminalServer.inc
plugins/admin/systems/class_servDNS.inc
plugins/admin/systems/class_servGeneric.inc
plugins/admin/systems/class_servKolab.inc
plugins/admin/systems/class_servNfs.inc
plugins/admin/systems/class_servRepository.inc
plugins/admin/systems/class_workstationStartup.inc

index b244ef77b21210adbcf7dc4657bdd83fa32324d4..af31f680942094c347bf72079dbc35491f06753e 100644 (file)
@@ -198,6 +198,24 @@ class goCupsServer extends plugin{
     }
   }
 
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Cups"),
+          "plDescription" => _("Cups service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array()
+          ));
+  }
+
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index c15b885549179e02d7726d7651c441bee74d5a80..5248a676dd9d56120321217fcdc55fa024624864 100644 (file)
@@ -206,6 +206,25 @@ class goFaxServer extends plugin{
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Fax server"),
+          "plDescription" => _("Fax server service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+             "goFaxAdmin"     => _("Login name"),
+             "goFaxPassword"  => _("Password"))
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index a8aa3ca79dfc5eea670d4b03a64fcd187d446656..94e864f6b956e883228de226c5729af923207e7e 100644 (file)
@@ -215,6 +215,27 @@ class goFonServer extends plugin{
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+  
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("GoFon server"),
+          "plDescription" => _("GoFon server service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+              "goFonAdmin"      => _("Admin"), 
+              "goFonPassword"   => _("Password"),
+              "goFonAreaCode"   => _("Area code"), 
+              "goFonCountryCode"=> _("Country code"))
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index d2ca6ddfd81754ae4adc7e3ecd51d52c04c2da6f..b04424e9e0d07e13bd9c06c13e618bc8afd70e3c 100644 (file)
@@ -208,6 +208,27 @@ class goGlpiServer extends plugin{
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+  
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Glpi server"),
+          "plDescription" => _("Glpi server service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+             "goGlpiAdmin"    => _("Admin"), 
+             "goGlpiDatabase" => _("Database"),
+             "goGlpiPassword" => _("Password"))
+          ));
+  }
+
  
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 934d788425056b4a6e524b8feb8831b63399cb6a..cb1efe06f285bff196e500fa06cbf78ac4e55803 100644 (file)
@@ -264,6 +264,33 @@ class goImapServer extends plugin{
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Imap"),
+          "plDescription" => _("Imap service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goImapName"        =>_("Server indentifier"),
+            "goImapConnect"     =>_("Connect URL"),
+            "goImapAdmin"       =>_("Admin user"),
+            "goImapPassword"    =>_("Admin password"),
+            "goImapSievePort"   =>_("Sieve port"),
+            "cyrusImap"         =>_("Start IMAP service"),
+            "cyrusImapSSL"      =>_("Start IMAP SSL service"),
+            "cyrusPop3"         =>_("Start POP3 service"),
+            "cyrusPop3SSL"      =>_("Start POP3 SSL service"))
+          ));
+  }
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 4b1fb91d781dcbe4e898c38c17c76310266b611f..7ffef032ae9db46ca3aa6e5ec4b6daba3829ea3c 100644 (file)
@@ -211,6 +211,25 @@ class goKrbServer extends plugin{
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+    /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Kerberos"),
+          "plDescription" => _("Kerberos service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goKrbRealm"    => _("Realm"), 
+            "goKrbAdmin"    => _("Admin"),
+            "goKrbPassword" => _("Password"))
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 3f5ec4b38bb03136c26635500fcf18127e83d86c..fa7896b541b94e4871ae9a2bc2a4a4893985ae76 100644 (file)
@@ -201,6 +201,24 @@ class goLdapServer extends plugin{
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Ldap"),
+          "plDescription" => _("Ldap service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goLdapBase" => _("Ldap base"))
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 0667031f5f7ec851a0f2f60ace7bbcba42ebabcc..b3bb37a9fefa2f9a4d349c09c6e7d7717585fed9 100644 (file)
@@ -207,6 +207,24 @@ class goLogDBServer extends plugin{
     }
   }
   
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Log"),
+          "plDescription" => _("Log service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goLogAdmin"    => _("Admin"),
+            "goLogPassword" => _("Password"))
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 337bc9d68f69113df4dcff740d9031d58de31660..a1cbbd24804dd8dc7012fbc26aca49abb4b66540 100644 (file)
@@ -763,6 +763,34 @@ class goMailServer extends plugin{
   {
     plugin::save_object();  
   }
+
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Mail"),
+          "plDescription" => _("Mail service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "description"                 => _("Description"), 
+            "postfixHeaderSizeLimit"      => _("Header size limit"), 
+            "postfixMailboxSizeLimit"     => _("Max mailbox size"), 
+            "postfixMessageSizeLimit"     => _("Max message size"), 
+            "postfixMyDestinations"       => _("Domains to accept mail for"), 
+            "postfixMyNetworks"           => _("Local networks"), 
+            "postfixRelayhost"            => _("Relay host"), 
+            "postfixTransportTable"       => _("Transport table"), 
+            "postfixSenderRestrictions"   => _("Restrictions for sender"), 
+            "postfixRecipientRestrictions"=> _("Restrictions for recipient"))
+            ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 5be4b74dfebd51a215467ceaef902cf7ef384cb1..6ab88fe1747488675cf6964574d9460ab81ab600 100644 (file)
@@ -212,6 +212,24 @@ class goNtpServer extends plugin{
   }
 
 
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("NTP"),
+          "plDescription" => _("NTP service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goTimeSource"        =>_("Ntp source"))
+          ));
+  }
+
+
   function check(){ return array();}
 
   function save_object(){;}
index 87c854608e5056a0cc460271eb29c17849bbb348..99c75c32624facd006789bb49f2e70fedc431f1d 100644 (file)
@@ -440,6 +440,25 @@ class goShareServer extends plugin{
     return $mount;
   }
 
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Shares"),
+          "plDescription" => _("Share service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goExportEntry"     =>_("Share entry"))
+          ));
+  }
+
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index cbb56157a0b1449efd6495d3ea32a8d89675280b..7e389f9ab82f5ff3a49111d8a1dbd2ef814b69ed 100644 (file)
@@ -197,6 +197,23 @@ class goSyslogServer extends plugin{
     }
   }
 
+    /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Syslog"),
+          "plDescription" => _("Syslog service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array()
+          ));
+  }
+
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 235195fefa5f91cd94a5ff7c49482f1992e5f5a9..6fcb615edbc44e5516e7c460ded0a4e0dbba42be 100644 (file)
@@ -215,6 +215,25 @@ class goTerminalServer extends plugin{
     }
   }
 
+    /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Terminal"),
+          "plDescription" => _("Terminal service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "goXdmcpIsEnabled"  => _("Temporary disable login"),
+            "goFontPath"        => _("Font path"))
+          ));
+  }
+
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index fbd9c812c0a74fcfdc9db2cf4e76ab50298a3310..6c1307d256162f37800e9f738d5c87a6491a8013 100644 (file)
@@ -381,6 +381,34 @@ class servdns extends plugin
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("DNS"),
+          "plDescription" => _("DNS service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "zoneName"      =>_("Zone name"),
+            "ReverseZone"   =>_("Reverse zone"),
+            "sOAprimary"    =>_("Primary dns server"),
+            "sOAmail"       =>_("Mail address"),
+            "sOAserial"     =>_("Serial"),
+            "sOArefresh"    =>_("Refresh"),
+            "sOAretry"      =>_("Retry"),
+            "sOAexpire"     =>_("Expire"),
+            "sOAttl"        =>_("TTL"),
+            "zoneRecords"   =>_("Zone records"))
+    ));
+  }
+
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 8d31c68843a0a746e2efc5f8b8232a0842bfaf9f..72eb4617c07930b37ac51bd66bf33a955044d6e8 100644 (file)
@@ -307,6 +307,27 @@ class servgeneric extends plugin
     }
   }
 
+
+  /* Return plugin informations for acl handling */ 
+  function plInfo()
+  {
+    return (array( 
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Server generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),           
+          "plCategory"    => array("server" => array("description"  => _("Server"),
+                                                     "objectClass"  => _("gotoWorkstation"))),
+          "plProvidedAcls"=> array(
+            "cn"           => _("Name"),
+            "description"  => _("Description"),
+            "gotoMode"     => _("Goto mode"),
+            "base"         => _("Base"),
+            "FAIstate"     => _("Action flag"))
+          ));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 07ae9a588aaafcc29ac0ab9878d78397575cffb1..c1e33222359f83e5d53b9e87fd89076d95105b0f 100644 (file)
@@ -403,6 +403,39 @@ class servkolab extends plugin {
       $this->$flag = $attrs[$flag][0];
     }
   }
+
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Kolab"),
+          "plDescription" => _("Kolab service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+            "postfix_mydomain"                => _("Postfix mydomain") ,
+            "postfix_mydestination"           => _("My destination") ,
+            "proftpd_ftp"                     => _("FTP FreeBusy service") ,
+            "postfix_mynetworks"              => _("SMTP privileged networks") ,
+            "postfix_enable_virus_scan"       => _("Enable virus scan") ,
+            "postfix_relayhost"               => _("Relayhost") ,
+            "apache_http"                     => _("HTTP FreeBusy service") ,
+            "postfix_allow_unauthenticated"   => _("Accept Internet Mail") ,
+            "cyrus_imap"                      => _("IMAP service") ,
+            "kolabFreeBusyFuture"             => _("kolabFreeBusyFuture") ,
+            "cyrus_pop3"                      => _("POP3 service") ,
+            "cyrus_imaps"                     => _("IMAP/SSL service") ,
+            "cyrus_pop3s"                     => _("POP3/SSL service") ,
+            "cyrus_sieve"                     => _("Sieve service") ,
+            "cyrus_quotawarn"                 => _("Quota settings")) 
+            ));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index e89bab3ea9e939c26340ba83a4a0a27a576fb302..113675920841129b34ff9b74a275b11f87138f09 100644 (file)
@@ -255,6 +255,27 @@ class servnfs extends plugin
     return $this->create_mount;
   }
 
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("NFS"),
+          "plDescription" => _("NFS service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+              "description" => _("Description"),
+              "type"        => _("Type"),
+              "charset"     => _("Charset"),
+              "path"        => _("Path"),
+              "option"      => _("Option"), 
+              "volume"      => _("Valume"))
+            ));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index d92998b7e419d310392907e95ed17a34863b76bf..961c49a59b204dd0bd7813c9e0feb612bcf4af7b 100644 (file)
@@ -423,6 +423,26 @@ class servrepository extends plugin
     }
   }
 
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Repository"),
+          "plDescription" => _("Repository service"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("server"),
+
+          "plProvidedAcls"=> array(
+              "cn"            => _("Name"),
+              "Release"       => _("Releases"),
+              "ParentServer"  => _("Parent server"),
+              "Url"           => _("Url"))
+            ));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
index 33088b2670a8f51ff9bd7cb80164d511b33c0a29..5c1bb1d1ca0c7004e861086bfffc037033a08577 100644 (file)
@@ -1075,21 +1075,28 @@ class workstartup extends plugin
   }
 
 
-  /* Return plugin informations for acl handling  */ 
+  /* 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")));
+    return (array( 
+          "plShortName"   => _("Startup"),
+          "plDescription" => _("System startup"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),           
+          "plCategory"    => array("workstation","server"),
+
+          "plProvidedAcls"=> array(
+            "gotoLdapServer"        => _("Ldap server"),
+            "gotoBootKernel"        => _("Boot kernel"),
+            "gotoKernelParameters"  => _("Kernel parameter"),
+            "FAIclass"              => _("FAI classes"),
+            "FAIstatus"             => _("FAI status flag"),
+            "gotoShare"             => _("Shares"),
+            "FAIdebianMirror"       => _("Debian mirror"),
+            "FAIrelease"            => _("Debian release"))
+          ));
   }
 }