When attempting to review a student attempt from the dashboard when the "Allow students to review attempts from" was set, it would either lead to a broken URL or started a new attempt for the instructor. This small change now checks for the instructor role (or lack thereof) before redirecting or entering review mode.
When attempting to review a student attempt from the dashboard when the "Allow students to review attempts from" was set, it would either lead to a broken URL or started a new attempt for the instructor. This small change now checks for the instructor role (or lack thereof) before redirecting or entering review mode.