the-orange-alliance/toa-angular-old

FIM Admin permissions lack permissions on Admin tab to e.g. upload event images for FIM events

messenger-sean opened this issue · 3 comments

Describe the bug
I have admin portal access for my event. Upon loading the Admin tab for this event, Chrome debugger shows an error "ERROR Error: permission_denied at /eventAPIs/1920-FIM-BFQ: Client doesn't have permission to access the desired data." Further, upon selecting a .jpg file and clicking "Upload", I receive an error 403 - Forbidden.

Steps to reproduce the issue

  1. Login to theorangealliance.org as messenger.sean@gmail.com
  2. Go to https://theorangealliance.org/events/1920-FIM-BFQ
  3. Open Chrome debugger, observe initial permission error

Further, to reproduce the inability to upload event images (pit, venue, schedule):
4. Click on the Admin tab
5. Under "Event Schedule", select "Browse"
6. Choose this image (alternatives may be reproducible as well):
2019-11-02-094342_437x534_scrot
7. Click "Upload"
8. Observe a pop-up at the center of the bottom of the page that says "An error occurred, Please try again later (HTTP-403)"

image

Expected behavior
I believe I have "FIM Admin" permissions, so I should not be receiving permission errors on access the admin tab for FIM Bedford's FTC event, and I should be able to upload the event schedule, pit map, and venue map images.

Screenshots
image

Additional context
I believe I have "FIM Admin" permissions according to @afera15 and @Nate2019. I can see the Admin tab for several FIM events, even those I am not directly working.

Your Environment

  • Ubuntu 16.04
  • Chrome Version 73.0.3683.75 (Official Build) (64-bit)
  • User account: messenger.sean@gmail.com
  • Event: 1920-FIM-BFQ

Hey @messenger-sean, thanks for the report, try it now please.

Yup, that works. Thanks!

What was the fix/issue?

There was an issue in myTOA Backend...