diff --git a/app/Http/Controllers/SuppliersController.php b/app/Http/Controllers/SuppliersController.php index 41ff456791..7fcaa11ddf 100755 --- a/app/Http/Controllers/SuppliersController.php +++ b/app/Http/Controllers/SuppliersController.php @@ -184,6 +184,7 @@ class SuppliersController extends Controller */ public function show($supplierId = null) { + $this->authorize('view', Supplier::class); $supplier = Supplier::find($supplierId); if (isset($supplier->id)) {