Code

Added some group acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jul 2006 07:37:05 +0000 (07:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jul 2006 07:37:05 +0000 (07:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4152 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupGeneric.inc
plugins/personal/environment/class_environment.inc

index eb0345a3993a4fcc3d4b1c1f5d2dfeb86d8132c1..5cb8f75ef70b71b8d01a3cea51d5e983a514ac24 100644 (file)
@@ -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:
index fb4a81f34e6ef327fb1ba51a30856d6652cab0ad..b46079a63767d27bac7cb67a05ee596e501e70eb 100644 (file)
@@ -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"),