Skip to content

Commit

Permalink
Merge pull request #246 from ploi/permission-fix
Browse files Browse the repository at this point in the history
Permission fix
  • Loading branch information
Cannonb4ll authored Nov 1, 2023
2 parents fd849db + 7f28934 commit 37b1eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/BoardsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BoardsController extends Controller
{
public function show(Project $project, Board $board)
{
abort_if($project->private && !auth()->user()?->canAccessFilament(), 404);
abort_if($project->private && !auth()->user()?->hasAdminAccess(), 404);

return view('board', [
'project' => $project,
Expand Down

0 comments on commit 37b1eef

Please sign in to comment.