Code

Added acls to gofonAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Jul 2006 07:35:03 +0000 (07:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Jul 2006 07:35:03 +0000 (07:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4137 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/phoneaccount/class_phoneAccount.inc

index 64a390fb085a3ccc110f9d0a7c222047b2ed51ee..6f8bc75440f1eaeac210beee75fc73ba307d2916 100644 (file)
@@ -1193,6 +1193,23 @@ class phoneAccount extends plugin
       $this->goFonPIN = $_POST['goFonPIN'];
     }
   }
+
+
+  /* Return plugin informations for acl handling */
+  function plInfo()
+  {
+    return (array(
+          "plDescription"     => _("Phone extension"),
+          "plSelfModify"      => TRUE,
+          "plDepends"         => array("objectClass" => "gosaAccount"),
+
+          "goFonDeliveryMode"   => _("Delivery mode"),
+          "goFonHardware"       => _("Phone hardware"),
+          "goFonPIN"            => _("Telephone pin"),
+          "goFonVoicemailPIN"   => _("Voivemail pin"),
+          "telephoneNumber"     => _("Telephone number"),
+          "goFonMacro"          => _("Macro settings")));
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: