silverstripe-framework/tests/forms/gridfield
Ingo Schommer fb784af738 API Enforce $allowed_actions in RequestHandler->checkAccessAction()
See discussion at https://groups.google.com/forum/?fromgroups#!topic/silverstripe-dev/Dodomh9QZjk

Fixes an access issue where all public methods on FormField were allowed,
and not checked for $allowed_actions. Before this patch you could e.g.
call FormField->Value() on the first field by using action_Value.

Removes the following assertion because it only worked due to RequestHandlingTest_AllowedControllerExtension
*not* having $allowed_extensions declared: "Actions on magic methods are only accessible if explicitly allowed on the controller."
2013-06-24 14:50:40 +02:00
..
GridField_URLHandlerTest.php API Enforce $allowed_actions in RequestHandler->checkAccessAction() 2013-06-24 14:50:40 +02:00
GridFieldActionTest.yml MINOR Added per-record canView, canDelete, canCreate and canEdit checks on gridfield and gridfield components #6890 2012-03-09 10:58:01 +13:00
GridFieldAddExistingAutocompleterTest.php API Enforce $allowed_actions in RequestHandler->checkAccessAction() 2013-06-24 14:50:40 +02:00
GridFieldConfigTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
GridFieldDataColumnsTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
GridFieldDeleteActionTest.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
GridFieldDetailFormTest.php API Enforce $allowed_actions in RequestHandler->checkAccessAction() 2013-06-24 14:50:40 +02:00
GridFieldDetailFormTest.yml Merge branch 'master' of github.com:silverstripe/sapphire 2012-03-09 14:37:32 +13:00
GridFieldEditButtonTest.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
GridFieldExportButtonTest.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
GridFieldExportButtonTest.yml ENHANCEMENT GridFieldExportButton allows an anon function to return the 2012-04-23 20:26:41 +12:00
GridFieldPaginatorTest.php API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
GridFieldTest.yml NEW Relation search for GridFieldAddExistingAutocompleter 2012-11-27 10:51:10 +01:00