mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
24 lines
329 B
PHP
24 lines
329 B
PHP
<?php
|
|
|
|
namespace App\Policies;
|
|
|
|
use App\Models\User;
|
|
|
|
/**
|
|
* Class ClientPolicy
|
|
* @package App\Policies
|
|
*/
|
|
class ClientPolicy extends EntityPolicy
|
|
{
|
|
/**
|
|
* @param User $user
|
|
* @return bool
|
|
*/
|
|
public function create(User $user)
|
|
{
|
|
return $this->createPermission($user, ENTITY_CLIENT);
|
|
}
|
|
|
|
|
|
}
|