From 590b2a2b9ab37949a13be0c8f7bdef2019030282 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 17 Mar 2009 22:20:28 +0000 Subject: [PATCH] BUGFIX Using $allowed_actions in ImageEditor git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73248 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/ImageEditor.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/ImageEditor.php b/code/ImageEditor.php index e3e264f2..0c339341 100644 --- a/code/ImageEditor.php +++ b/code/ImageEditor.php @@ -6,6 +6,10 @@ */ class ImageEditor extends Controller { + static $allowed_actions = array( + '*' => 'CMS_ACCESS_CMSMain' + ); + public $fileToEdit = ""; public $fileToEditOnlyName = "";