Code

Updated mimetype copy & paste
[gosa.git] / plugins / admin / fai / class_faiScriptEntry.inc
index 2a56bcb0d92afd6a73c4ef4220f2c1d1487b3f5a..f7473c553f4f135c9855df5a53b32d3dfd2eaf53 100644 (file)
@@ -84,7 +84,7 @@ class faiScriptEntry extends plugin
     }
 
      /* Create download button*/
-    if($this->dn != "new"){
+    if($this->dn != "new" && $this->acl_is_readable("FAIscript")){
       $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."'>
         <input type='button' value='"._("Download")."'>
         </a>");