Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Oct 19, 2023
1 parent 9c86a90 commit 6a43d8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Policies/ProjectPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public function view(User $user, Project $project): bool
if ($user->isSuperAdmin()) {
return true;
}

return $user->belongsToOrganization($project->organization);
}

Expand Down

0 comments on commit 6a43d8a

Please sign in to comment.