Skip to content
This repository
Browse code

BUGFIX Allowing CMSMain->rollback() outside of form contexts, tempora…

…riliy disabling CSRF protection. Necessary in order to get rollback actions working from admin/getversion (regression from 2.4.4 release, see #6291)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@115313 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 25de6303a84b43d3722dabc1aada57454ef64e66 1 parent 6a02f2e
Ingo Schommer authored December 22, 2010 sminnee committed February 02, 2011

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  code/CMSMain.php
3  code/CMSMain.php
@@ -51,7 +51,8 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
51 51
 		'SiteTreeAsUL',
52 52
 		'getshowdeletedsubtree',
53 53
 		'getfilteredsubtree',
54  
-		'batchactions'
  54
+		'batchactions',
  55
+		'rollback', // see http://open.silverstripe.org/ticket/6291
55 56
 	);
56 57
 	
57 58
 	/**

0 notes on commit 25de630

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