Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide admin tabs if not logged in #4

Open
pixup1 opened this issue Dec 14, 2024 · 0 comments · May be fixed by #5
Open

Hide admin tabs if not logged in #4

pixup1 opened this issue Dec 14, 2024 · 0 comments · May be fixed by #5
Assignees
Labels
enhancement New feature or request

Comments

@pixup1
Copy link
Member

pixup1 commented Dec 14, 2024

Currently, if the website user is not logged in, they can still see all the tabs and even have access to the "Create" page.

In order to add a scoreboard and be able to share the site with players, it would be nice if those tabs were hidden unless the user is an admin of the tournament. The scoreboard from #3 should be the only part of the site publicly accessible.

We also need to think of a way to restrict match creation. For a small tournament, it makes sense that anyone should be able to create one, but not for a LAN. Especially if the interface is going to be available publicly online for players to see their scores.

@pixup1 pixup1 added the enhancement New feature or request label Dec 14, 2024
@pixup1 pixup1 self-assigned this Dec 15, 2024
@pixup1 pixup1 linked a pull request Dec 15, 2024 that will close this issue
@pixup1 pixup1 linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant