Simon-Initiative / oli-torus

Next Generation OLI Authoring and Delivery Platform
https://proton.oli.cmu.edu
MIT License
83 stars 35 forks source link

[BUG FIX] [MER-3557] Not authorized message displayed to student on LTI launch #4994

Closed eliknebel closed 1 month ago

eliknebel commented 1 month ago

https://eliterate.atlassian.net/browse/MER-3557

Fixes an issue where the redirection logic during LTI launch didn't match the authorization logic.

If a student had the Platform Instructor role, they were redirected to the instructor dashboard however the authorization logic redirected to an unauthorized message. Ultimately, the authorization logic was correct here, so the platform instructor role was remove from the list of "allowed to manage section" roles so that a student isn't incorrectly redirected.