*/
public function update(User $user, Round $round)
{
- return false;
+ return !$round->tournament->locked && $user->isTournamentAdmin($round->tournament);
}
/**
$round->locked ||
($user && $user->hasFinished($round)) ||
($user && $user->isTournamentMonitor($round->tournament)) ||
- ($user && $user->isTournamentAdmin($round->tournament) && !$user->isRunner($round->tournament)) ||
$round->isComplete();
}