mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Removing form actions from $allowed_actions in AssetAdmin, CMSMain, LeftAndMain - handled through Form->httpSubmission()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115185 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
102ba8b424
commit
1e0579cbe4
@ -23,10 +23,8 @@ class AssetAdmin extends LeftAndMain {
|
||||
public static $allowed_max_file_size;
|
||||
|
||||
static $allowed_actions = array(
|
||||
'deleteUnusedThumbnails',
|
||||
'doUpload',
|
||||
'getsubtree',
|
||||
'save',
|
||||
'uploadiframe',
|
||||
'UploadForm',
|
||||
'deleteUnusedThumbnails' => 'ADMIN',
|
||||
|
@ -28,23 +28,16 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
|
||||
static $allowed_actions = array(
|
||||
'addmember',
|
||||
'doAdd',
|
||||
'buildbrokenlinks',
|
||||
'compareversions',
|
||||
'createtranslation',
|
||||
'delete',
|
||||
'deletefromlive',
|
||||
'duplicate',
|
||||
'duplicatewithchildren',
|
||||
'getversion',
|
||||
'publishall',
|
||||
'restore',
|
||||
'revert',
|
||||
'rollback',
|
||||
'sidereports',
|
||||
'SideReportsForm',
|
||||
'submit',
|
||||
'unpublish',
|
||||
'versions',
|
||||
'EditForm',
|
||||
'AddForm',
|
||||
|
@ -51,7 +51,6 @@ class LeftAndMain extends Controller {
|
||||
'getsubtree',
|
||||
'myprofile',
|
||||
'printable',
|
||||
'save',
|
||||
'show',
|
||||
'Member_ProfileForm',
|
||||
'EditorToolbar',
|
||||
@ -59,7 +58,6 @@ class LeftAndMain extends Controller {
|
||||
'BatchActionsForm',
|
||||
'batchactions',
|
||||
'AddForm',
|
||||
'doAdd'
|
||||
);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user