From da5373b420c8c7ed2c3bc0c3e0e9bcbae60010d0 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 25 Oct 2007 13:55:46 +0000 Subject: [PATCH] Added ACL for ogroup -> terminal settings git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7662 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/ogroups/class_termgroup.inc | 2 +- plugins/admin/ogroups/tabs_ogroups.inc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.30.2