Code

Fixed ACL handling for non #all# ACLs
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 Apr 2007 08:12:10 +0000 (08:12 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 16 Apr 2007 08:12:10 +0000 (08:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6052 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_divListApplication.inc

index 4676a4bb7ac129d4558fd42745548a8292ddfdf1..c6e339eb3cdd57654b2d72886d3a0577ce2f4e93 100755 (executable)
@@ -141,7 +141,7 @@ class divListApplication extends MultiSelectWindow
       /* Create action icons */
       $actions = "";
 
-      if($acl == "#all#"){
+      if($acl == "#all#" || preg_match('/#create#/', $acl)){
         if(($this->parent->CopyPasteHandler) && (!$is_freezed)){
           $actions.= "<input class='center' type='image'
             src='images/editcut.png' alt='"._("cut")."' name='cut_%KEY%' title='"._("Cut this entry")."'>&nbsp;";