Code

Added server service acls
[gosa.git] / plugins / admin / systems / class_goGlpiServer.inc
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: