Code

Added printer acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 07:15:08 +0000 (07:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Jul 2006 07:15:08 +0000 (07:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4192 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index f153ff221a550481153f1aa12127955734183abf..e4c74a101a8e8a6f9bb09441dd36b34b7c557974 100644 (file)
@@ -763,6 +763,32 @@ class printgeneric extends plugin
     }
     return($a_return);
   }
+
+  /* Return plugin informations for acl handling
+      #FIXME FAIscript seams to ununsed within this class... */
+  function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Print generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("printer" => array("description"  => _("Printer"),
+                                                    "objectClass"  => _("gotoPrinter"))),
+          "plProvidedAcls"=> array(
+            "cn"                => _("Name"), 
+            "description"       => _("Description"), 
+            "l"                 => _("Location"), 
+            "labeledURI"        => _("LabeledURL"), 
+            "gotoPrinterPPD"    => _("Printer PPD"),
+            "gotoUserPrinter"   => _("Permissions")) 
+          ));
+  }
+
+
+
 }