D
D
dk-web2015-10-14 20:47:48
Laravel
dk-web, 2015-10-14 20:47:48

How to delimit section permissions in Laravel 5.1?

I didn't find it right off the bat... is it called RBAC?
let's say I need to make a section for drivers...
localhost/mysiteru/public/drivers
I understand that you need to create the roles table manually and set the roles yourself ..
and then do .. what?
Route::get('profile', ['middleware' => 'auth', 'uses' => '[email protected]']);
Do you need some kind of access check here?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2015-10-14
@miraage

You again.. :)
Again, everything is in the documentation.
laravel.com/docs/5.1/authorization

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question