diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc
index 50966582ba1b4bb4987365a0a09d228fb81811d0..f5359b0b4584bd7eb32a144e3b0248c5167d5dfe 100644 (file)
$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'])){
$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"));
/* 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;
/* 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();