From: hickert Date: Mon, 15 Jan 2007 07:49:44 +0000 (+0000) Subject: Updated servrepository acls X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=55d18c03bdc14f03fdb1143318f72571a00d8f7c;p=gosa.git Updated servrepository acls git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5561 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();