Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinecraft committed Feb 1, 2025
1 parent 6da8ce3 commit 6bea271
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/Policies/PlayerPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ public function viewAnyIntel(?User $user)
return true;
}

if ($showPlayerIntelTo === 'staff') {
return $user && $user->isStaffMember();
}

if ($showPlayerIntelTo === 'self') {
if ($showPlayerIntelTo === 'staff' || $showPlayerIntelTo === 'self') {
return $user && $user->isStaffMember();
}

Expand Down

0 comments on commit 6bea271

Please sign in to comment.