From 228cd12a286bcfc11ceed73f64a2a0635d331db3 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 5 Apr 2008 03:14:02 +0000 Subject: [PATCH] BUGFIX securing url actions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@52167 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/BulkLoaderAdmin.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/BulkLoaderAdmin.php b/code/BulkLoaderAdmin.php index 0a30a90a..bfd8f5e5 100755 --- a/code/BulkLoaderAdmin.php +++ b/code/BulkLoaderAdmin.php @@ -16,6 +16,11 @@ */ class BulkLoaderAdmin extends LeftAndMain { + static $allowed_actions = array( + 'preview' => 'ADMIN', + 'process' => 'ADMIN', + ); + /** * Initialisation method called before accessing any functionality that BulkLoaderAdmin has to offer */