the-orange-alliance / toa-angular-old

🤖 A webapp for accessing data about the FIRST Tech Challenge
https://theorangealliance.org
MIT License
45 stars 31 forks source link

Permission issue for FIM Admin when loading FIM Event Page #345

Closed messenger-sean closed 4 years ago

messenger-sean commented 4 years ago

Describe the bug When a user with FIM Admin credentials opens the main page for an event, the debugger console shows an Error 403 for serverStatus request followed by a "permission denied" statement.

Steps to reproduce the issue

  1. Sign in as messenger.sean@gmail.com (FIM Admin permission set)
  2. Go to https://theorangealliance.org/events/1920-FIM-HFQ11
  3. Open Chrome debugger
  4. See error

Expected behavior There should be no errors or permission issues reported in the console for a user loading a page they have admin priveleges for.

Screenshots image

Additional context I am able to edit the event still -- e.g., changing the event name, uploading pit maps. Perhaps this is an order issue where data is requested before permissions are recognized?

Your Environment

ofekashery commented 4 years ago

Thanks, fixed.