Code

Added ACL for ogroup -> terminal settings
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Oct 2007 13:55:46 +0000 (13:55 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Oct 2007 13:55:46 +0000 (13:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7662 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_termgroup.inc
plugins/admin/ogroups/tabs_ogroups.inc

index 61e5c21764bd5baec5bdf639a313ceaa931bbb8f..dde86224a3c716bf40a769f995c00ce31a26fb20 100644 (file)
@@ -42,7 +42,7 @@ class termgroup extends plugin
     $this->is_account = true;
     $ui               = get_userinfo();
     $acl              = get_permissions ($this->dn, $ui->subtreeACL);
-    $this->acl        = get_module_permission($acl, "group", $this->dn);
+    $this->acl        = get_module_permission($acl, "ogroup", $this->dn);
 
     $this->modes["active"]= _("Activated");
     $this->modes["locked"]= _("Locked");
index a58d4f5946661e06231ef9e95acbeae9bcf55b14..33c6ae98c84134d771e0268d5a0f01541cf74388 100644 (file)
@@ -102,11 +102,13 @@ class ogrouptabs extends tabs
       $this->by_object['workservice']= new workservice($this->config, $this->dn);
       $this->by_object['workservice']->inheritTimeServer = false;
       $this->by_object['workservice']->parent= &$this;
+      $this->by_object['workservice']->acl = "#all#";
     }
     if((preg_match("/S/",$objects) || preg_match("/W/",$objects))&&(!isset($this->by_object['workstartup']))){
       $this->by_name['workstartup']= _("Startup");
       $this->by_object['workstartup']= new workstartup($this->config, $this->dn);
       $this->by_object['workstartup']->parent= &$this;
+      $this->by_object['workstartup']->acl = "#all#";
       $this->by_name['faiSummary']= _("Summary");
       $this->by_object['faiSummary']= new faiSummaryTab($this->config, $this->dn);
       $this->by_object['faiSummary']->parent= &$this;