This needs to be tested in a Moodle with master branch.
In the app, login as a student.
Open the Network tab in the developer tools and clear them.
Perform a PTR in the dashboard. Check that there are no WS calls to core_completion_get_course_completion_status.
Now open any course. Check that there are no WS calls to core_completion_get_course_completion_status.
Go to participants and open your profile. Check that there are no WS calls to core_completion_get_course_completion_status.
Now open another user profile. Check that there is a WS call to core_completion_get_course_completion_status (we don't know if the user has permissions to see the other user completion).
This needs to be tested in a Moodle with master branch.
In the app, login as a student.
Open the Network tab in the developer tools and clear them.
Perform a PTR in the dashboard. Check that there are no WS calls to core_completion_get_course_completion_status.
Now open any course. Check that there are no WS calls to core_completion_get_course_completion_status.
Go to participants and open your profile. Check that there are no WS calls to core_completion_get_course_completion_status.
Now open another user profile. Check that there is a WS call to core_completion_get_course_completion_status (we don't know if the user has permissions to see the other user completion).