FIRST-Tech-Challenge / scorekeeper

FIRST Tech Challenge Live Scorekeeper Software
86 stars 21 forks source link

FTA Notepad Doesn't Connect on Account with `Event Admin` Permissions #721

Open DarkMetalMouse opened 4 months ago

DarkMetalMouse commented 4 months ago

Describe the bug When opening the FTA notepad with an account with the Event Admin permissions, the FTA notepad will show "match null". This does not change when adding or removing FTA or FTAA/CSA permissions. However, removing the Event Admin permissions and keeping the FTA permissions fixes the issue.

To Reproduce Steps to reproduce the behavior:

  1. Create an account with Event Admin and FTA
  2. Go to the FTA Notepad on the account you created
  3. The title will be Match null and the Teams list will be empty
  4. Remove Event Admin permission from the account
  5. Go to the FTA Notepad on the account you created
  6. The title will be correct and the teams will show

Expected behavior The FTA notepad will show the current match and teams when used by an account with FTA and Event Admin permissions.

Screenshots Screenshot 2024-03-11 at 08-45-01 FIRST Tech Challenge Live IMG_20240311_084702

Device (please complete the following information): OS: iPad 2 mini, iPadOS 12.5.* Browser: chrome Version: 91.0.4472.80 (also happens on every lower version we tested

Additional context Can provide debug info if needed. Most of our accounts don't require bothEvent Admin and FTA permissions so this doesn't bother us.

tweirtx commented 3 months ago

Fwiw, this might be specific to the age of the device...I tried in multiple browsers in multiple configurations (I don't have an iPad, but I even tried Safari on my Mac) and couldn't reproduce this issue.