51 lines
813 B
PHP
51 lines
813 B
PHP
<?php
|
|
|
|
namespace App\Policies;
|
|
|
|
use Illuminate\Auth\Access\HandlesAuthorization;
|
|
use App\Policies\Rules\UserStaticRules as USR;
|
|
|
|
class ClaimMessagePolicy
|
|
{
|
|
use HandlesAuthorization;
|
|
|
|
/**
|
|
* View a Claim Message.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function view(): bool
|
|
{
|
|
return USR::everyOne();
|
|
}
|
|
|
|
/**
|
|
* View any a Claim Message.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function viewAny(): bool
|
|
{
|
|
return USR::everyOne();
|
|
}
|
|
|
|
/**
|
|
* Store a Claim Message.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function store(): bool
|
|
{
|
|
return USR::everyOne();
|
|
}
|
|
|
|
/**
|
|
* Update a Claim Message.
|
|
*
|
|
* @return boolean
|
|
*/
|
|
public function update(): bool
|
|
{
|
|
return USR::everyOne();
|
|
}
|
|
}
|