mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Added missing gate for bulk checkout
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
cf0548bd1f
commit
243739e9c3
|
@ -224,6 +224,9 @@ class BulkAssetsController extends Controller
|
|||
*/
|
||||
public function storeCheckout(Request $request)
|
||||
{
|
||||
|
||||
$this->authorize('checkout', Asset::class);
|
||||
|
||||
try {
|
||||
$admin = Auth::user();
|
||||
|
||||
|
|
Loading…
Reference in a new issue