From d08562661ee0e8bbf3bfe59d429ca68b6a219a9e Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 18 Mar 2009 02:55:23 +0000 Subject: [PATCH] BUGFIX Using $allowed_actions in ImageEditor (Merged from r73248) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@73284 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 c8232efe..7cfd0bca 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 = "";