Code

Updated group trustModel ACLs.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Jul 2008 13:43:26 +0000 (13:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 18 Jul 2008 13:43:26 +0000 (13:43 +0000)
-Acls were not configured, system select dialog had an empty initial regex filter

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11719 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/class_ogroup.inc

index 58cc2d1bc2db89f0a9a45a51e2468f4583a98637..029feeb1730ec1fae99dcd70ba463fce68d27fe0 100644 (file)
@@ -143,6 +143,15 @@ class ogroup extends plugin
     $this->orig_cn = $this->cn;
     $this->orig_base = $this->base;
 
+    /* Get global filter config */
+    if (!session::is_set("sysfilter")){
+      $ui= get_userinfo();
+      $base= get_base_from_people($ui->dn);
+      $sysfilter= array( "depselect"       => $base,
+          "regex"           => "*");
+      session::set("sysfilter", $sysfilter);
+    }
+
     /* Load member data */
     $this->reload();
   }
@@ -1065,6 +1074,7 @@ class ogroup extends plugin
             "cn"                => _("Name"),
             "base"              => _("Base"),
             "description"       => _("Description"),
+            "trustModel"        => _("Sytem trust"),
             "member"            => _("Member"))
           ));
   }