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:
Ingo Schommer 2010-12-20 00:00:49 +00:00
parent 102ba8b424
commit 1e0579cbe4
3 changed files with 0 additions and 11 deletions

View File

@ -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',

View File

@ -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',

View File

@ -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'
);
/**