1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Policies/ContactPolicy.php

15 lines
214 B
PHP
Raw Normal View History

2017-03-27 10:43:47 +02:00
<?php
namespace App\Policies;
2019-01-30 12:00:26 +01:00
use App\Models\User;
2017-03-27 10:43:47 +02:00
class ContactPolicy extends EntityPolicy
{
2019-01-30 12:00:26 +01:00
public function create(User $user)
{
return $this->createPermission($user, ENTITY_CONTACT);
}
2017-03-27 10:43:47 +02:00
}