#01 Roles and Permissions in Laravel | Install Spatie Role & permission Package

preview_player
Показать описание
Spatie Roles & Permission Guide

In this complete series I'll guide you how to implement multiple roles & permissions in Laravel. We will use the spatie laravel permission package to acheive this functuiinuty.

What we will cover:
1. How to Install spatie roles & permissions package.
2. How to Create and Get the Roles.
3. How to Create and Get the Permissions
4. How to Assign permission directly to user.
5. How to assign permission to role.
6. How to assign that role to a user.
7. How to revoke permission from the user and role.
8. How to check if user have certain permission or not.

#hadayat
#hadayatniazi
#coding
Рекомендации по теме