Nexus-for-FRC / Nexus

A web-based event management system designed to improve the team experience at FRC events
https://frc.nexus
4 stars 0 forks source link

Create more specific error messages #12

Closed jaredhasenklein closed 1 year ago

jaredhasenklein commented 1 year ago

If a user has access to some but not all parts of FRC Queue for an event, the message says:

Something went wrong. {email} does not have access to {event code}.

However {email} may have access to queue for {event code} but not to view /alliances or /fta or some other part of the system.

To help queuers at events debug, it might be helpful to say:

Something went wrong. {email} does not have access to {module} for {event code}.

image

eforbes commented 1 year ago

A fix for this has been implemented. Thanks again for the feedback!

Particularly for authorization errors- users are now presented with a request form that allows them to directly request the role they need to view the page or perform the action