1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Policies/TaxRatePolicy.php

26 lines
483 B
PHP
Raw Normal View History

<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Policies;
2020-10-12 22:42:02 +02:00
use App\Models\User;
/**
* Class TaxRatePolicy.
*/
class TaxRatePolicy extends EntityPolicy
{
public function create(User $user) : bool
{
return $user->isAdmin();
}
}