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

View File

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

View File

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