You've already forked Epicnabbo-Catalogus-Updated-Daily
31 lines
591 B
PHP
31 lines
591 B
PHP
<?php
|
|
|
|
namespace App\Policies;
|
|
|
|
use Illuminate\Auth\Access\HandlesAuthorization;
|
|
|
|
class AchievementPolicy
|
|
{
|
|
use HandlesAuthorization;
|
|
|
|
public function viewAny(): bool
|
|
{
|
|
return hasHousekeepingPermission('manage_achievements');
|
|
}
|
|
|
|
public function view(): bool
|
|
{
|
|
return hasHousekeepingPermission('manage_achievements');
|
|
}
|
|
|
|
public function create(): bool
|
|
{
|
|
return hasHousekeepingPermission('manage_achievements');
|
|
}
|
|
|
|
public function update(): bool
|
|
{
|
|
return hasHousekeepingPermission('manage_achievements');
|
|
}
|
|
}
|