mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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;
|
public static $allowed_max_file_size;
|
||||||
|
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
'deleteUnusedThumbnails',
|
|
||||||
'doUpload',
|
'doUpload',
|
||||||
'getsubtree',
|
'getsubtree',
|
||||||
'save',
|
|
||||||
'uploadiframe',
|
'uploadiframe',
|
||||||
'UploadForm',
|
'UploadForm',
|
||||||
'deleteUnusedThumbnails' => 'ADMIN',
|
'deleteUnusedThumbnails' => 'ADMIN',
|
||||||
|
@ -28,23 +28,16 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
|
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
'addmember',
|
'addmember',
|
||||||
'doAdd',
|
|
||||||
'buildbrokenlinks',
|
'buildbrokenlinks',
|
||||||
'compareversions',
|
'compareversions',
|
||||||
'createtranslation',
|
'createtranslation',
|
||||||
'delete',
|
|
||||||
'deletefromlive',
|
|
||||||
'duplicate',
|
'duplicate',
|
||||||
'duplicatewithchildren',
|
'duplicatewithchildren',
|
||||||
'getversion',
|
'getversion',
|
||||||
'publishall',
|
'publishall',
|
||||||
'restore',
|
|
||||||
'revert',
|
|
||||||
'rollback',
|
|
||||||
'sidereports',
|
'sidereports',
|
||||||
'SideReportsForm',
|
'SideReportsForm',
|
||||||
'submit',
|
'submit',
|
||||||
'unpublish',
|
|
||||||
'versions',
|
'versions',
|
||||||
'EditForm',
|
'EditForm',
|
||||||
'AddForm',
|
'AddForm',
|
||||||
|
@ -51,7 +51,6 @@ class LeftAndMain extends Controller {
|
|||||||
'getsubtree',
|
'getsubtree',
|
||||||
'myprofile',
|
'myprofile',
|
||||||
'printable',
|
'printable',
|
||||||
'save',
|
|
||||||
'show',
|
'show',
|
||||||
'Member_ProfileForm',
|
'Member_ProfileForm',
|
||||||
'EditorToolbar',
|
'EditorToolbar',
|
||||||
@ -59,7 +58,6 @@ class LeftAndMain extends Controller {
|
|||||||
'BatchActionsForm',
|
'BatchActionsForm',
|
||||||
'batchactions',
|
'batchactions',
|
||||||
'AddForm',
|
'AddForm',
|
||||||
'doAdd'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user