tl-its-umich-edu / student_explorer

Tool used by Academic advisors to access student weekly performance
Apache License 2.0
10 stars 13 forks source link

Provide more detail in ERROR: Request not authorized email/message #266

Open jonespm opened 2 years ago

jonespm commented 2 years ago

Occasionally we're getting this email message ERROR: Request not authorized

Prior to the 2.8.0 release this was ERROR: Could not find saml_user value. This was changed when djangosaml was upgraded.

This message indicates someone doesn't have access to Student Explorer and not in the group from #121. However the email doesn't indicate who doesn't have authorization, this information can be looked up from the logs. It would be useful to include this in the email message and maybe even make it less of a stack dump and more of an informational message.

ssciolla commented 1 year ago

Were you also thinking this would include a better message for the user?