TIPOFF / checkout

Laravel Package for Ecommerce Checkouts
MIT License
0 stars 1 forks source link

Update user permissions #100

Closed arwaawan3 closed 3 years ago

arwaawan3 commented 3 years ago

$request->user()->hasRole determines if location filtering should be applied or not. All of these should be replaced with $request->user()->hasPermissionTo('all locations')