Context to display links is only checked at course level
cameron1729 opened this issue · 1 comments
cameron1729 commented
The is_tutor
method of the various turnitin_*.class.php
classes is currently passed a course context, this does not account for cases where a module has locally assigned roles. As an example:
- Create a test course
- Enrol some test students
- Enrol a user at the course level as a student (to later be given locally assigned teacher role)
- Create a test assignment, enabling Turnitin
- submit a test assignment as a student and wait for the Turnitin report to be generated
- Within the assignment, click the settings gear and select Locally assigned roles
- Select Teacher
- Search for the test user in step 3
- select the user and click add
- Login as the test teacher
- Navigate to the assignment and view all submissions
Expected outcome: All submissions and Turnitin similarity scores should appear
Actual outcome: only the assignment submissions appear, no Turnitin details are displayed
dwinn commented
Hi @cameron1729,
Thank you for the report. We are looking into whether this is something that we can support and will provide an update when we are able to.