ucfopen / Materia

Engage students with easily embedded apps for online courses. Supercharge your course with compelling experiences and game mechanics.
https://ucfopen.github.io/Materia-Docs/
GNU Affero General Public License v3.0
36 stars 32 forks source link

Collaboration dialog student && support permissions overlap #1502

Closed clpetersonucf closed 10 months ago

clpetersonucf commented 10 months ago

The collaboration dialog will seemingly allow you to grant a student access to a non-student widget (that's not in Guest Mode) if that student also has the support role. The dialog can be saved without error, and the API does not return a permissions error or it is not acted upon by the client. However, the permission update doesn't actually "stick": it's not updated in the database and refreshing the page will show that the user was not actually added.

Ideally we handle this situation more gracefully, likely by continuing to enforce the student role limitations despite the user being support.