mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
13 lines
276 B
PHP
13 lines
276 B
PHP
<?php
|
|
|
|
namespace App\Policies;
|
|
|
|
class PaymentTermPolicy extends EntityPolicy {
|
|
public static function edit($user, $item) {
|
|
return $user->hasPermission('admin');
|
|
}
|
|
|
|
public static function create($user) {
|
|
return $user->hasPermission('admin');
|
|
}
|
|
} |