php - Assigning abilities in Laravel 5.1 Authorization -


recently upgraded laravel 5.1 , have read new features authorization . using entrust before decided use using basic permission/abilities anyway. doc explains how define , check abilities didn't find line attach ability user. guessing these abilities should saved , pulled db, not sure how attach these.

unfortunately authorization service doesn't assign abilities/permissions coming database. docs seem mislead in direction.

you can opt package deal part, such https://github.com/spatie/laravel-permission


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -