Skip to content
Snippets Groups Projects
Commit c82a4f02 authored by Martin Mareš's avatar Martin Mareš
Browse files

fixup! fixup! fixup! fixup! Diplomy/UI: Přehled ocenění studentů pro školní garanty

parent 18a8556f
No related branches found
No related tags found
No related merge requests found
...@@ -348,7 +348,7 @@ def org_school_results(school_id: int): ...@@ -348,7 +348,7 @@ def org_school_results(school_id: int):
raise werkzeug.exceptions.NotFound() raise werkzeug.exceptions.NotFound()
# Úmyslně nekontrolujeme práva ke kategorii # Úmyslně nekontrolujeme práva ke kategorii
if not g.gatekeeper.rights_for(place=place, year=config.CURRENT_YEAR).have_right(Right.view_contestants): if not g.gatekeeper.rights_for(place=place).have_right(Right.view_contestants):
raise werkzeug.exceptions.Forbidden() raise werkzeug.exceptions.Forbidden()
pants_subq = (sess.query(db.Participant.user_id) pants_subq = (sess.query(db.Participant.user_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment