This issue only needs to be tested in 1 device.
You will need to inspect the Network requests of the device.
- Log in into the Moodle demo site as teacher/moodle.
- Open the Digital literacy course and go to Participants.
- Inspect the network requests.
- Open the Barbara Gardner profile. Check that there is only 1 call to tool_lp_data_for_user_competency_summary_in_course.
- Check that you can view the Competencies button in the profile.
- Now logout and access as student/moodle.
- Open the Digital literacy course and go to Participants.
- Inspect the network requests.
- Open a profile from another user (not Barbara Gardner). Check that there is only 1 call to tool_lp_data_for_user_competency_summary_in_course.
- Check that you can NOT view the Competencies button in the profile.