From 6804e4913f84fa35c4b5111db75045440e4d5516 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 18 Jul 2006 07:18:10 +0000 Subject: [PATCH] Added component acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4193 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/class_componentGeneric.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/plugins/admin/systems/class_componentGeneric.inc b/plugins/admin/systems/class_componentGeneric.inc index 8648d0bc4..a6d93bb19 100644 --- a/plugins/admin/systems/class_componentGeneric.inc +++ b/plugins/admin/systems/class_componentGeneric.inc @@ -226,6 +226,25 @@ class componentGeneric extends plugin $this->postcreate(); } + /* Return plugin informations for acl handling */ + function plInfo() + { + return (array( + "plShortName" => _("Generic"), + "plDescription" => _("Component generic"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("administration"), + "plCategory" => array("component" => array("description" => _("Network device"), + "objectClass" => array("device", "ipHost", "ieee802Device"))), + "plProvidedAcls"=> array( + "cn" => _("Name"), + "description" => _("Description")) + )); + } + + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2