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

task_admin publish result returns error 500 #63

Closed
biuti opened this issue May 22, 2020 · 1 comment
Closed

task_admin publish result returns error 500 #63

biuti opened this issue May 22, 2020 · 1 comment

Comments

@biuti
Copy link
Collaborator

biuti commented May 22, 2020

The result is correctly published, but response is 500.
Problem seems to be that is possible to edit a task not in selected comp.
I the image I'm on task 4 of HG worlds 2019 and selected comp is Cavallaria.
Shouldn't happen often to edit url directly, but brings to problems so need to get the selected comp consistent with task id
image

@kuaka
Copy link
Collaborator

kuaka commented May 22, 2020

Fixed with commit 811a572
users now should not be able to navigate to task settings, track admin or score admin for tasks that are outside the active admin competition.

@kuaka kuaka closed this as completed May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants