mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-28 12:26:23 +02:00
Fix CMSBatchActionHandler::$allowed_actions
Regression from earlier API change to deny actions unless specified
This commit is contained in:
parent
973a23fac8
commit
a9f150126c
@ -16,6 +16,12 @@ class CMSBatchActionHandler extends RequestHandler {
|
||||
'$BatchAction/confirmation' => 'handleConfirmation',
|
||||
'$BatchAction' => 'handleBatchAction',
|
||||
);
|
||||
|
||||
private static $allowed_actions = array(
|
||||
'handleBatchAction',
|
||||
'handleApplicablePages',
|
||||
'handleConfirmation',
|
||||
);
|
||||
|
||||
protected $parentController;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user