]> git.localhorst.tv Git - alttp.git/commitdiff
fix see-result permission
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 21 Oct 2022 11:16:03 +0000 (13:16 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 21 Oct 2022 11:16:03 +0000 (13:16 +0200)
app/Policies/RoundPolicy.php

index ec71a890802fa21d7caf5e81a458daf89a170cf0..083454a7fceb80c4a228410e9d1a1f781d4e128c 100644 (file)
@@ -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();
        }