mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +01:00
3b0cda1502
* Fixes for tests * fixes for permissions * Set default company on account creation * Ensure default company ID is registered in session variables * Implement a generic resolver to harvest an entity from encoded value * Laravel Telescope
22 lines
349 B
PHP
22 lines
349 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Client;
|
|
|
|
use App\Http\Requests\Request;
|
|
|
|
class EditClientRequest extends Request
|
|
{
|
|
/**
|
|
* Determine if the user is authorized to make this request.
|
|
*
|
|
* @return bool
|
|
*/
|
|
|
|
public function authorize()
|
|
{
|
|
return true;
|
|
// return ! auth()->user(); //todo permissions
|
|
}
|
|
|
|
|
|
} |