Skip to content

Commit

Permalink
Merge branch 'master' into whitespace-normalization-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland authored Jan 20, 2025
2 parents cc5c83e + 7d048f8 commit 3dba200
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/Policies/NewsPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public function manage(User $user): bool
{
return $user->hasAnyRole([
Role::ADMINISTRATOR,
Role::DEVELOPER,
Role::EVENT_MANAGER,
Role::MODERATOR,
Role::NEWS_MANAGER,
Expand All @@ -39,7 +38,6 @@ public function create(User $user): bool
{
return $user->hasAnyRole([
Role::ADMINISTRATOR,
Role::DEVELOPER,
Role::EVENT_MANAGER,
Role::MODERATOR,
Role::NEWS_MANAGER,
Expand All @@ -51,7 +49,6 @@ public function update(User $user, News $news): bool
{
return $user->hasAnyRole([
Role::ADMINISTRATOR,
Role::DEVELOPER,
Role::EVENT_MANAGER,
Role::MODERATOR,
Role::NEWS_MANAGER,
Expand Down Expand Up @@ -106,7 +103,6 @@ public function pin(User $user, News $news): bool
{
return $user->hasAnyRole([
Role::ADMINISTRATOR,
Role::NEWS_MANAGER,
]);
}
}

0 comments on commit 3dba200

Please sign in to comment.