Code

Updated servrepository acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Jan 2007 07:49:44 +0000 (07:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Jan 2007 07:49:44 +0000 (07:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5561 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servRepository.inc

index 50966582ba1b4bb4987365a0a09d228fb81811d0..f5359b0b4584bd7eb32a144e3b0248c5167d5dfe 100644 (file)
@@ -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();