1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
invoiceninja/app/Policies/ClientPolicy.php

24 lines
329 B
PHP
Raw Normal View History

2016-04-26 03:53:39 +02:00
<?php
namespace App\Policies;
2019-01-30 12:00:26 +01:00
use App\Models\User;
/**
* Class ClientPolicy
* @package App\Policies
*/
2017-01-30 17:05:31 +01:00
class ClientPolicy extends EntityPolicy
{
2019-01-30 12:00:26 +01:00
/**
* @param User $user
* @return bool
*/
public function create(User $user)
{
return $this->createPermission($user, ENTITY_CLIENT);
}
2017-01-30 17:05:31 +01:00
}