1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00
invoiceninja/app/Policies/ProductPolicy.php

9 lines
173 B
PHP
Raw Normal View History

2016-04-26 03:53:39 +02:00
<?php
namespace App\Policies;
2016-04-27 16:24:09 +02:00
class ProductPolicy extends EntityPolicy {
2016-04-26 03:53:39 +02:00
public static function edit($user, $item) {
return $user->hasPermission('admin');
}
}