turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
45 stars 65 forks source link

Context to display links is only checked at course level #608

Open cameron1729 opened 2 years ago

cameron1729 commented 2 years ago

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:

  1. Create a test course
  2. Enrol some test students
  3. Enrol a user at the course level as a student (to later be given locally assigned teacher role)
  4. Create a test assignment, enabling Turnitin
  5. submit a test assignment as a student and wait for the Turnitin report to be generated
  6. Within the assignment, click the settings gear and select Locally assigned roles
  7. Select Teacher
  8. Search for the test user in step 3
  9. select the user and click add
  10. Login as the test teacher
  11. 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 2 years ago

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.