shaimaeid / laravel-api-assets

Laravel Api custom classes and main API controllers
1 stars 0 forks source link

Roles #1

Open shaimaeid opened 1 month ago

shaimaeid commented 1 month ago

https://medium.com/@prevailexcellent/role-and-permission-in-laravel-10-using-spatie-the-definitive-guide-2023-57bb6b56abcd

composer require spatie/laravel-permission publish this package

shaimaeid commented 1 month ago

Add traits [HasRoles] to models Seeded the database with proper permessions