From: Daniel Karbach Date: Fri, 21 Oct 2022 11:16:03 +0000 (+0200) Subject: fix see-result permission X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=33feb66adcce4897c9c92a0300ddcb45bc269da1;p=alttp.git fix see-result permission --- diff --git a/app/Policies/RoundPolicy.php b/app/Policies/RoundPolicy.php index ec71a89..083454a 100644 --- a/app/Policies/RoundPolicy.php +++ b/app/Policies/RoundPolicy.php @@ -105,7 +105,6 @@ class RoundPolicy $round->locked || ($user && $user->hasFinished($round)) || ($user && $user->isTournamentMonitor($round->tournament)) || - ($user && $user->isTournamentAdmin($round->tournament) && !$user->isRunner($round->tournament)) || $round->isComplete(); }