From 22fd6e52b3cb1f7974b2e0c301bb0f5d9aa5f2b6 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 13 Jul 2006 07:35:03 +0000 Subject: [PATCH] Added acls to gofonAccount git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4137 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/phoneaccount/class_phoneAccount.inc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index 64a390fb0..6f8bc7544 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -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: -- 2.30.2