Laravel 5 Acl (part - 1)
Автор: NO STACK TO FULL STACK
Загружено: 2017-01-09
Просмотров: 1401
Описание:
How to implement ACL in Laravel 5 ?
Cómo implementar acl en laravel
如何在laravel中實現acl
hoe te implementeren ACL in laravel
kiel apliki acl en laravel
Comment mettre en œuvre acl in laravel
Wie man acl in laravel implementiert
come implementare ACL in laravel
как реализовать в Laravel ACL
Cómo implementar acl en laravel
ACL: Access control list
it restrict and allow user to perform specific task. in other words it is a part
of authorization, which user has the permission to perform the specific
task and which users are restricted.
ACl is like a control filter in our application we can control our website functionality for different roles (users).
in this video we will implement Role based Acl in laravel.
please follow these steps one by one to implement ACL in your project.
Step 1: First Create some users.
Step 2: display the user listing in the main page with edit delete and view
action.
based on these action we will give user permission to delete or edit.
this is the dummy user listing I have create.
Step 3: Now install the laravel package .
We will use laravel zizaco/entrust package.
follow steps to install this package
1) edit composer.json and add below package
"zizaco/entrust": "5.2.x-dev"
then run composer update.
goto your terminal/cmd and run the composer update command
you can also user compser require and package name.
wait untill it loaded all the dependencies. Now it is done.
2) Open your config/app.php and add the following to the providers array:
Zizaco\Entrust\EntrustServiceProvider::class,
3) In the same config/app.php and add the following to the aliases array:
'Entrust' Zizaco\Entrust\EntrustFacade::class,
4) Run the command below to publish the package config file config/entrust.php:
php artisan vendor:publish
your package has been installed successfully.
We are done here
in our next video I will show you these in action
please like and subscribe
************ Keywords ********
Laravel
Laravel 5
ACL in laravel
How to implement ACl in laravel
Roles
Roles and permission
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: