11 KiB
3.3.0-beta1
Upgrading notes
New permission model for Versioned DataObjects
When adding the Versioned
extension to dataobjects, typically it's necessary to explicitly declare
permissions on these objects in order to prevent un-published content surfacing to unauthenticated users.
In order to better support this, versioned by default will now deny canView permissions on objects that are not published.
For more information on how to customise the permission model for versioned dataobjects then please refer to the versioned extension documentation.
Block ?stage=Stage for unauthenticated users
By default users must now be logged in with CMS access permissions in order to change the viewing
mode of the site frontend using the ?stage
querystring parameter.
This permission can be customised by altering the Versioned.non_live_permissions
config by assigning a different set of permissions.
Change Log
Security
- 2015-11-11 245e0aa Fix FormField error messages not being encoded safely (Damian Mooyman) - See ss-2015-026
- 2015-11-09 53b3bc7 Dont expose class on error (Hamish Friedlander) - See ss-2015-025
- 2015-11-01 ac4342d XML escape RSSFeed $link parameter (Ingo Schommer) - See ss-2015-022
- 2015-10-28 97f21fd Fix rewrite hash links XSS (Damian Mooyman) - See ss-2015-021
API Changes
- 2015-12-07 38e154a Disable get parameter access to site stage mode (Damian Mooyman)
- 2015-12-02 5353ac5 Refactor versioned security into core module (Damian Mooyman)
- 2015-12-02 6089a7c Create default security permission model for versioned data objects (Damian Mooyman)
- 2015-11-26 6266f90 Increased Permission.Code db field to 255 characters (Novusvetus)
- 2015-07-20 ea9434f Lazy load template parser (Loz Calver)
Features and Enhancements
- 2015-12-14 9467ab9 Implement unshift() in field list classes (closes #4834) (Loz Calver)
- 2015-12-01 f7c270a Use Config for determining Vary header (Marcus Nyeholt)
- 2015-11-10 603cacc CurrencyField to use Currency.currency_symbol (muskie9)
- 2015-09-25 5c04dc5 - Added new method to display the number of total items in a paginated list within templates (Marco Kernler)
- 2015-08-14 1b57e0c implement getter and setter usage for response (Stevie Mayhew)
Bugfixes
- 2015-12-22 706877d Get locale from <html> element for i18n.js (fixes #4854) (Loz Calver)
- 2015-12-22 54ae002 FIx merge regressions in versioned tests (Damian Mooyman)
- 2015-12-22 fce8251 Workaround for issues in testing version (Damian Mooyman)
- 2015-12-17 36241d5 Fix regressions is SS_Report::canView (Damian Mooyman)
- 2015-12-15 afbb5cf Vimeo oEmbed endpoint redirecting to no www (UndefinedOffset)
- 2015-12-15 cd66917 Vimeo oEmbed endpoint redirecting to no www (UndefinedOffset)
- 2015-12-15 5d0f833 SS_Report canView should check permissions (Christopher Darling)
- 2015-12-14 d265c9b Allow omitting a value for OptionsetField submissions (fixes #4824) (Loz Calver)
- 2015-12-11 5a21b2f Guard against users being added to all groups on unsaved Group. (Mateusz Uzdowski)
- 2015-12-09 fa0160a Fix regression in canViewStage (Damian Mooyman)
- 2015-11-27 94742fa Revert method visibility regression (Damian Mooyman)
- 2015-11-24 15ae37c Image_Cached record class name (Jonathon Menz)
- 2015-11-17 68d99be Hidden errors for composite fields nested inside FieldGroups (fixes #4773) (Loz Calver)
- 2015-11-17 97e90b8 RedirectorPage toggles not working (fixes #1328) (Loz Calver)
- 2015-11-17 b624eb9 Setting target for unwritten VirtualPage breaks write (Loz Calver)
- 2015-11-16 2983d82 Ensure VirtualPage forwards request/response data to virtual controllers (fixes #1329) (Loz Calver)
- 2015-11-12 fea1158 Fix print button only displaying first page (Damian Mooyman)
- 2015-11-11 a40812a Don’t reuse DBConnector (fixes #4735) (Sam Minnee)
- 2015-11-05 f577ecb prevent use cache on browser back button (Igor Nadj)
- 2015-10-31 275ecfd Use
Object->hasMethod()
instead ofmethod_exists()
(madmatt) - 2015-10-07 71defe7 for #5 to facilitate validation on SiteConfig via DataExtension's. (Patrick Nelson)
- 2015-10-06 a71d99c for #4663 ensuring return values from TabSet are retained from parent. Removing useless override. Cleaning up documentation in TabSet and return types. (Patrick Nelson)
- 2015-10-05 12c4239 (partial) for #3181 where non-submit buttons are being activated on "enter" key press (relates to CMS issue at https://github.com/silverstripe/silverstripe-cms/issues/1288). (Patrick Nelson)
- 2015-10-05 332e490 (partial) for #1288 where non-submit buttons are being activated on "enter" key press (relates to framework issue at https://github.com/silverstripe/silverstripe-framework/issues/3181). (Patrick Nelson)
- 2015-10-05 4a70ffe Typo in cur methods PHPDoc (Corey Sewell)
- 2015-09-29 5224fc4 Permission::checkMember() use of undefined variable $codes (Manuel Teuber)
- 2015-09-24 c0be44d fix response regression in initiation of request handler (Stevie Mayhew)
- 2015-09-17 c9ba6e5 Fix ClassInfo::table_for_object_field (Damian Mooyman)
- 2015-09-11 5cc0878 for #4597: Ensuring GridFieldConfig_RelationEditor is instantiated via Injector, not via "new" keyword. (Patrick Nelson)
- 2015-09-02 2ae5d83 Resampled images inherit source properties (Jonathon Menz)
- 2015-08-24 80ce549 disable archived pages from being droppable (Damian Mooyman)
- 2015-08-21 b14794b Fix bulk actions making sitetree unclickable (Damian Mooyman)
- 2015-08-19 a19fe39 Avoid PHP 5.6 deprecation with access to HTTP_RAW_POST_DATA. Fixed #4511 (Sam Minnee)
- 2015-07-31 6a45f4a fix mismatched quotes (Damian Mooyman)
- 2015-06-15 ca039e1 Fix regressions in changes to batch action feature (David Craig)
- 2015-06-11 8a4c518 allow for increase_time_limit_to to work if $_increase_time_limit_max is not yet set (Stevie Mayhew)