From: cajus Date: Thu, 25 Oct 2007 13:55:46 +0000 (+0000) Subject: Added ACL for ogroup -> terminal settings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da5373b420c8c7ed2c3bc0c3e0e9bcbae60010d0;p=gosa.git Added ACL for ogroup -> terminal settings git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7662 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_termgroup.inc b/plugins/admin/ogroups/class_termgroup.inc index 61e5c2176..dde86224a 100644 --- a/plugins/admin/ogroups/class_termgroup.inc +++ b/plugins/admin/ogroups/class_termgroup.inc @@ -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"); diff --git a/plugins/admin/ogroups/tabs_ogroups.inc b/plugins/admin/ogroups/tabs_ogroups.inc index a58d4f594..33c6ae98c 100644 --- a/plugins/admin/ogroups/tabs_ogroups.inc +++ b/plugins/admin/ogroups/tabs_ogroups.inc @@ -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;