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

Přidán komentář vysvětlující práva ke kolům

parent 2653d2ef
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,9 @@ class RoundRights(Rights):
# Skutečnou kontrolu práv dělá až implementace funkce podle stavu soutěže.
def _get_state(self) -> db.RoundState:
# Pokud je kolo ve stavu „po oblastech“, opravovatelům a dozoru nedáváme práva
# na úrovni kola / hierarchie, protože některé soutěže už mohou být uzavřené.
# Ale správci kola / místa v hierarchii to dovolíme.
return self.round.state
def _is_configured(self) -> bool:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment