Skip to content

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Apr 4, 2025

This is a annoying case, we only check if the contests exists after we know if the user has access. This prevents us from disclosing data but does require this null check.

I did not check if it fixes the issue, but given the small change I expect we get away with this on visual inspection.

Should fix https://domjudge.sentry.io/issues/6155964196/?alert_rule_id=11022917&alert_type=issue&notification_uuid=d08175bd-ce4e-4e66-b1e3-49c72dfcef9e&project=6376669&referrer=slack

This is a annoying case, we only check if the contests exists after we
know if the user has access. This prevents us from disclosing data but
does require this null check.
@vmcj vmcj requested a review from nickygerritsen April 4, 2025 17:07
@nickygerritsen nickygerritsen added this pull request to the merge queue Jul 5, 2025
Merged via the queue into DOMjudge:main with commit d8cbf48 Jul 5, 2025
36 checks passed
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

Successfully merging this pull request may close these issues.

3 participants