feat: izinkan semua user melihat dan melakukan voting

This commit is contained in:
2026-04-03 09:24:21 +07:00
parent fb0e32da1b
commit ffc35ca6ab
+2 -2
View File
@@ -14,12 +14,12 @@ class VotePolicy
public function viewAny(AuthUser $authUser): bool public function viewAny(AuthUser $authUser): bool
{ {
return $authUser->can('ViewAny:Vote'); return true;
} }
public function view(AuthUser $authUser, Vote $vote): bool public function view(AuthUser $authUser, Vote $vote): bool
{ {
return $authUser->can('View:Vote'); return true;
} }
public function create(AuthUser $authUser): bool public function create(AuthUser $authUser): bool