From 842f5172900b2fdf61387b308e0ae2bc16f7858d Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 Jul 2006 09:20:25 +0000 Subject: [PATCH] Fixed gofon acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4203 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../class_phoneConferenceGeneric.inc | 2 +- plugins/gofon/fonreports/class_fonreport.inc | 16 ++++++---------- plugins/gofon/macro/class_gofonMacro.inc | 18 ++++++++++++------ 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc index d50d5cc33..5b4716402 100644 --- a/plugins/gofon/conference/class_phoneConferenceGeneric.inc +++ b/plugins/gofon/conference/class_phoneConferenceGeneric.inc @@ -524,7 +524,7 @@ class conference extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("addons" => _("Addons")), - "plCategory" => array("conference" => array("description" => _("GOfon"), + "plCategory" => array("gofon" => array("description" => _("GOfon"), "objectClass" => "gofonConference")), "plProvidedAcls" => array( diff --git a/plugins/gofon/fonreports/class_fonreport.inc b/plugins/gofon/fonreports/class_fonreport.inc index 361cc983c..9056f91a9 100644 --- a/plugins/gofon/fonreports/class_fonreport.inc +++ b/plugins/gofon/fonreports/class_fonreport.inc @@ -358,16 +358,12 @@ class fonreport extends plugin "plSelfModify" => TRUE, "plDepends" => array(), "plPriority" => 0, - "plSection" => array("fonreport" => _("Phone reports")), - "plCategory" => array("gofon" => _("Phone reports")), - - - - "plDescription" => _("Phone reports"), - "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "fonreport"), - - "fonreport" => "!!! FIXME "._("Phone reports"))); + "plSection" => array("administration"), + "plCategory" => array("gofon"), + + "plProvidedAcls" => array( + "fonreport" => "!!! FIXME "._("Phone reports")) + )); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/gofon/macro/class_gofonMacro.inc b/plugins/gofon/macro/class_gofonMacro.inc index 89e2db25b..22c179f16 100755 --- a/plugins/gofon/macro/class_gofonMacro.inc +++ b/plugins/gofon/macro/class_gofonMacro.inc @@ -459,20 +459,26 @@ class macro extends plugin } - /* Return plugin informations for acl handling */ function plInfo() { return (array( - "plDescription" => _("Asterisk macro management"), - "plSelfModify" => TRUE, - "plDepends" => array("objectClass" => "goFonMacro"), - + "plShortName" => _("Generic"), + "plDescription" => _("Asterisk macro management"), + "plSelfModify" => TRUE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("gofon"), + + "plProvidedAcls" => array( "base" => _("Base"), "description" => _("Description"), "displayName" => _("Display name"), "goFonMacroContent" => _("Macro content"), - "goFonMacroVisible" => _("Visibility flag"))); + "goFonMacroVisible" => _("Visibility flag")) + )); } + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2