Laravel this is not only a practical framework, it is also a programming style
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?
Aucun commentaire:
Enregistrer un commentaire