mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed #5217 - permissions error with importer for non-admins
This commit is contained in:
parent
04af1f3c97
commit
140724be2e
|
@ -14,6 +14,7 @@ use Illuminate\Support\Facades\Session;
|
|||
use League\Csv\Reader;
|
||||
use Symfony\Component\HttpFoundation\File\Exception\FileException;
|
||||
use Artisan;
|
||||
use App\Models\Asset;
|
||||
|
||||
class ImportController extends Controller
|
||||
{
|
||||
|
|
|
@ -5,6 +5,8 @@ namespace App\Http\Controllers;
|
|||
use App\Http\Transformers\ImportsTransformer;
|
||||
use App\Models\Import;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Asset;
|
||||
|
||||
|
||||
class ImportsController extends Controller
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue