From 72feda83d2393cd0b923835fbba5d02766f502e8 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Jul 2006 07:37:05 +0000 Subject: [PATCH] Added some group acls git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4152 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupGeneric.inc | 21 +++++++++++++++++++ .../environment/class_environment.inc | 2 ++ 2 files changed, 23 insertions(+) diff --git a/plugins/admin/groups/class_groupGeneric.inc b/plugins/admin/groups/class_groupGeneric.inc index eb0345a39..5cb8f75ef 100644 --- a/plugins/admin/groups/class_groupGeneric.inc +++ b/plugins/admin/groups/class_groupGeneric.inc @@ -852,6 +852,27 @@ class group extends plugin $this->gidNumber = false; } } + + + /* Return plugin informations for acl handling */ + function plInfo() + { + return (array( + "plDescription" => _("Groups"), + "plSelfModify" => FALSE, + "plDepends" => array("objectClass" => "posixGroup","description"=>_("Groups")), + "cn" => _("Name"), + "description" => _("Description"), + "base" => _("Base"), + + "fon_group" => _("Phone pickup group"), + "nagios_group" => _("Nagios group"), + + "gidNumber" => _("GID"), + "memberUid" => _("Group member"), + "sambaGroupType" => _("Samba group type"), + "sambaSID" => _("Samba SID"))); + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index fb4a81f34..b46079a63 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -1245,6 +1245,8 @@ function printOutHotPlugDevices() } + /* Return plugin informations for acl handling + #FIXME these ACLs should work for groups too */ function plInfo() { return (array("plDescription" => _("Environment settings"), -- 2.30.2