Fix marketing policies bo
This commit is contained in:
parent
72aa0297f1
commit
6761e040b6
2 changed files with 3 additions and 3 deletions
|
|
@ -16,6 +16,6 @@ class ParticipationPolicy
|
|||
*/
|
||||
public function viewWinnerList(User $authUser): bool
|
||||
{
|
||||
return UserStaticRules::atLeastRole($authUser, RoleEnum::admin);
|
||||
return UserStaticRules::atLeastRole($authUser, RoleEnum::marketing);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class StaticPagePolicy
|
|||
*/
|
||||
public function viewAny(User $authUser): bool
|
||||
{
|
||||
return UserStaticRules::atLeastRole($authUser, RoleEnum::admin);
|
||||
return UserStaticRules::atLeastRole($authUser, RoleEnum::marketing);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -27,6 +27,6 @@ class StaticPagePolicy
|
|||
*/
|
||||
public function update(User $authUser): bool
|
||||
{
|
||||
return UserStaticRules::atLeastRole($authUser, RoleEnum::admin);
|
||||
return UserStaticRules::atLeastRole($authUser, RoleEnum::marketing);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue