1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00
invoiceninja/app/Policies/ProposalCategoryPolicy.php
2019-01-30 22:25:07 +11:00

23 lines
319 B
PHP

<?php
namespace App\Policies;
use App\Models\User;
/**
* Class ProposalCategoryPolicy
* @package App\Policies
*/
class ProposalCategoryPolicy extends EntityPolicy
{
/**
* @param User $user
* @return mixed
*/
public function create(User $user)
{
return $user->is_admin;
}
}