vendredi 19 janvier 2018

Check user access with middleware string

I have a String with a middleware rule (like in routes):

$middleware = "can:index,App\Models\Order";

Is there any possiblity to check if a given user has access with this middleware rule?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2mQGdoh
via IFTTT

Aucun commentaire:

Enregistrer un commentaire