From 55d18c03bdc14f03fdb1143318f72571a00d8f7c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Jan 2007 07:49:44 +0000 Subject: [PATCH] Updated servrepository acls git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5561 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servRepository.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc index 50966582b..f5359b0b4 100644 --- a/plugins/admin/systems/class_servRepository.inc +++ b/plugins/admin/systems/class_servRepository.inc @@ -38,7 +38,7 @@ class servrepository extends plugin $ui = get_userinfo(); $tmp= get_permissions ($this->dn, $ui->subtreeACL); - $this->acl= get_module_permission($tmp, "FAIclass", $this->dn); + $this->acl= get_module_permission($tmp, "servrepository", $this->dn); $this->repositories = array(); if(isset($this->attrs['FAIrepository'])){ @@ -98,7 +98,7 @@ class servrepository extends plugin $ui = get_userinfo(); $tmp= get_permissions ($this->dn, $ui->subtreeACL); - $this->acl= get_module_permission($tmp, "FAIclass", $this->dn); + $this->acl= get_module_permission($tmp, "servrepository", $this->dn); $allow_edit = !preg_match("/disabled/i",chkacl($this->acl,"FAIclass")); @@ -333,7 +333,7 @@ class servrepository extends plugin /* Skip if not allowed */ $ui = get_userinfo(); $tmp= get_permissions ($this->dn, $ui->subtreeACL); - $this->acl= get_module_permission($tmp, "FAIclass", $this->dn); + $this->acl= get_module_permission($tmp, "servrepository", $this->dn); if(preg_match("/disabled/",chkacl($this->acl,"FAIclass"))) return; @@ -381,7 +381,7 @@ class servrepository extends plugin /* Skip if not allowed */ $ui = get_userinfo(); $tmp= get_permissions ($this->dn, $ui->subtreeACL); - $this->acl= get_module_permission($tmp, "FAIclass", $this->dn); + $this->acl= get_module_permission($tmp, "servrepository", $this->dn); if(preg_match("/disabled/",chkacl($this->acl,"FAIclass"))) return; plugin::save(); -- 2.30.2