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