Recently upgraded to Laravel 5.1 and have read the new features which is Authorization . I was using Entrust before but decided to use this now as I was using a very basic permission/abilities anyway. The doc explains how to define and check for abilities but I didn't find a line to attach this ability to a certain user. Am guessing these abilities should be saved and pulled from the db, but not sure how to attach these.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire