Skip to content
This repository
Browse code

BUGFIX Removing form actions from $allowed_actions in AssetAdmin, CMS…

…Main, LeftAndMain - handled through Form->httpSubmission() (from r115185)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@115189 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 6a02f2edb556fadccc40d46c81c8074ac6971c0c 1 parent 77c5701
Ingo Schommer chillu authored sminnee committed
2  code/AssetAdmin.php
@@ -27,13 +27,11 @@ class AssetAdmin extends LeftAndMain {
27 27 'deletefolder',
28 28 'deletemarked',
29 29 'DeleteItemsForm',
30   - 'deleteUnusedThumbnails',
31 30 'doUpload',
32 31 'getfile',
33 32 'getsubtree',
34 33 'movemarked',
35 34 'removefile',
36   - 'save',
37 35 'savefile',
38 36 'sync',
39 37 'uploadiframe',
6 code/CMSMain.php
@@ -32,8 +32,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
32 32 'canceldraftchangesdialog',
33 33 'compareversions',
34 34 'createtranslation',
35   - 'delete',
36   - 'deletefromlive',
37 35 'deleteitems',
38 36 'DeleteItemsForm',
39 37 'dialog',
@@ -44,13 +42,9 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
44 42 'publishall',
45 43 'publishitems',
46 44 'PublishItemsForm',
47   - 'restore',
48   - 'revert',
49   - 'rollback',
50 45 'RootForm',
51 46 'sidereport',
52 47 'submit',
53   - 'unpublish',
54 48 'versions',
55 49 'EditForm',
56 50 'AddPageOptionsForm',
1  code/LeftAndMain.php
@@ -50,7 +50,6 @@ class LeftAndMain extends Controller {
50 50 'getsubtree',
51 51 'myprofile',
52 52 'printable',
53   - 'save',
54 53 'show',
55 54 'Member_ProfileForm',
56 55 'EditorToolbar',

0 comments on commit 6a02f2e

Please sign in to comment.
Something went wrong with that request. Please try again.