| 1441 | ariadna | 1 | === 4.5 Onwards ===
 | 
        
           |  |  | 2 |   | 
        
           |  |  | 3 | This file has been replaced by UPGRADING.md. See MDL-81125 for further information.
 | 
        
           |  |  | 4 |   | 
        
           |  |  | 5 | ===
 | 
        
           | 1 | efrain | 6 | This file describes API changes in /admin/tool/dataprivacy/*
 | 
        
           |  |  | 7 | Information provided here is intended especially for developers.
 | 
        
           |  |  | 8 |   | 
        
           |  |  | 9 | === 4.4 ===
 | 
        
           |  |  | 10 | * tool_dataprivacy\external\data_request_exporter now returns and additional optional field "downloadlink"
 | 
        
           |  |  | 11 |   with the link to download a zip file containing the results of an export data request.
 | 
        
           |  |  | 12 |   | 
        
           |  |  | 13 | === 4.3 ===
 | 
        
           |  |  | 14 | * New add_request_contexts_with_status function adds the contexts from the contextlist_collection to
 | 
        
           |  |  | 15 |   the request with the status provided.
 | 
        
           |  |  | 16 | * New get_approved_contextlist_collection_for_request function finds all request contextlists having
 | 
        
           |  |  | 17 |   at least on approved context, and returns them as in a contextlist_collection.
 | 
        
           |  |  | 18 | * New update_request_contexts_with_status function sets the status of all contexts associated with
 | 
        
           |  |  | 19 |   the request.
 | 
        
           |  |  | 20 | * New approve_contexts_belonging_to_request function approves the contexts which are children of the
 | 
        
           |  |  | 21 |   provided course contexts.
 | 
        
           |  |  | 22 | * New get_course_contexts_for_view_filter function gets list of course context for user to filter.
 | 
        
           |  |  | 23 | * New submit_selected_courses_form function fetches the list of course which user can select to export
 | 
        
           |  |  | 24 |   data through form.
 | 
        
           |  |  | 25 |   | 
        
           |  |  | 26 | === 4.1 ===
 | 
        
           |  |  | 27 | * New `api::can_create_data_download_request_for_self` method for determining whether user has permission to create their
 | 
        
           |  |  | 28 |   own data download requests
 |