diff --git a/code/GridFieldAddExistingSearchButton.php b/code/GridFieldAddExistingSearchButton.php index 57300e7..ee9f782 100755 --- a/code/GridFieldAddExistingSearchButton.php +++ b/code/GridFieldAddExistingSearchButton.php @@ -7,6 +7,10 @@ class GridFieldAddExistingSearchButton implements GridField_HTMLProvider, GridField_URLHandler { + private static $allowed_actions = array( + 'handleSearch' + ); + protected $title; protected $fragment; protected $searchList; diff --git a/code/GridFieldAddExistingSearchHandler.php b/code/GridFieldAddExistingSearchHandler.php index 24e7621..124818a 100644 --- a/code/GridFieldAddExistingSearchHandler.php +++ b/code/GridFieldAddExistingSearchHandler.php @@ -5,7 +5,7 @@ */ class GridFieldAddExistingSearchHandler extends RequestHandler { - public static $allowed_actions = array( + private static $allowed_actions = array( 'index', 'add', 'SearchForm' diff --git a/code/GridFieldAddNewMultiClass.php b/code/GridFieldAddNewMultiClass.php index 47252d4..5b23188 100755 --- a/code/GridFieldAddNewMultiClass.php +++ b/code/GridFieldAddNewMultiClass.php @@ -7,6 +7,10 @@ */ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URLHandler { + private static $allowed_actions = array( + 'handleAdd' + ); + private $fragment; private $title; diff --git a/code/GridFieldEditableColumns.php b/code/GridFieldEditableColumns.php index 29a99f2..52286c5 100644 --- a/code/GridFieldEditableColumns.php +++ b/code/GridFieldEditableColumns.php @@ -14,6 +14,10 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements GridField_SaveHandler, GridField_URLHandler { + private static $allowed_actions = array( + 'handleForm' + ); + /** * @var Form[] */ diff --git a/code/GridFieldOrderableRows.php b/code/GridFieldOrderableRows.php index 981e85c..b0c2b04 100755 --- a/code/GridFieldOrderableRows.php +++ b/code/GridFieldOrderableRows.php @@ -12,6 +12,11 @@ class GridFieldOrderableRows extends RequestHandler implements GridField_HTMLProvider, GridField_URLHandler { + private static $allowed_actions = array( + 'handleReorder', + 'handleMoveToPage' + ); + /** * The database field which specifies the sort, defaults to "Sort". * diff --git a/code/GridFieldRequestHandler.php b/code/GridFieldRequestHandler.php index 442d042..4391f70 100644 --- a/code/GridFieldRequestHandler.php +++ b/code/GridFieldRequestHandler.php @@ -9,6 +9,10 @@ */ abstract class GridFieldRequestHandler extends RequestHandler { + private static $allowed_actions = array( + 'Form' + ); + /** * @var GridField */