mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fb784af738
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." |
||
---|---|---|
.. | ||
GridField_URLHandlerTest.php | ||
GridFieldActionTest.yml | ||
GridFieldAddExistingAutocompleterTest.php | ||
GridFieldConfigTest.php | ||
GridFieldDataColumnsTest.php | ||
GridFieldDeleteActionTest.php | ||
GridFieldDetailFormTest.php | ||
GridFieldDetailFormTest.yml | ||
GridFieldEditButtonTest.php | ||
GridFieldExportButtonTest.php | ||
GridFieldExportButtonTest.yml | ||
GridFieldPaginatorTest.php | ||
GridFieldTest.yml |