FIRST-Tech-Challenge / FIRST-Tech-Challenge/scorekeeper

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

Open
#721 1 comment 0 reactions 0 assignees View on GitHub
bug Local
Dominant language
No language data
Stars
110
Forks
26
PR merge metrics
No merged PRs in 30d

Description

**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](https://github.com/FIRST-Tech-Challenge/scorekeeper/assets/51059131/385fd296-13c1-4963-9817-803031275078)
![IMG_20240311_084702](https://github.com/FIRST-Tech-Challenge/scorekeeper/assets/51059131/65258f58-e551-4a93-8dc3-076c8abfcb9e)

**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 both`Event Admin` and `FTA` permissions so this doesn't bother us.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.