mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
fix authroize() method
This commit is contained in:
parent
f4698c0108
commit
529ce2ece8
@ -13,8 +13,7 @@ class DownloadMultipleDocumentsRequest extends FormRequest
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
// return auth()->user()->can('view', $this->document);
|
||||
return auth()->user()->can('view', $this->document);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user