#30 Laravel 10 Tutorial | Roles and Permissions in Laravel (VI) | Update Permissions for Subadmins

Опубликовано: 13 Март 2025
на канале: Stack Developers
1,185
15

►Laravel 10 Tutorial Playlist:    • Laravel 10 Tutorial: Make Admin Panel...  

In Part-30, we will continue working on Sub-Admins Roles and Permissions.

In this video, we will work on updating of permissions and will also show the permissions after adding.

Update updateRole function :-
First of all, we will update updateRole function to get the posted data and update view/edit/full access for cms pages for subadmins.

We will make subadmin roles/permissions empty first before assigning new permissions.

Update updateRole function once again :-
Get current roles/permissions for subadmins and return to update_roles.blade.php file.

Update update_roles.blade.php file :-
Update update_roles.blade.php file to check current roles/permissions of subadmins

In next video, we will update permissions for subadmins modules in foreach loop dynamically.

►Click here to subscribe for Laravel & other updates -    / stackdevelopers  

Popular Stack Developers Series that can help you:-

►Laravel Multi-Vendor E-commerce Website -    • Laravel Multi Vendor Tutorial  

►React JS Tutorial for Beginners with Laravel -    • React JS Tutorial with Laravel for Be...  

►Laravel Tutorial for Beginners -    • Laravel Tutorial for Beginners | Adva...  

►GIT Tutorial for Beginners -    • Git Tutorial for Beginners | Create y...  

►Laravel API Tutorial -    • Laravel API Tutorial | Create API fro...  

►Laravel Interview Questions -    • Laravel Interview Questions & Answers...  

►jQuery Tutorial -    • jQuery Tutorial  

►Laravel Basic E-commerce Series -    • Make Admin Panel / E-commerce Website...  

►Laravel Dating Series -    • Make Dating / Social Networking Websi...  

►Join this channel to get the complete source code of all series:
   / @stackdevelopers  

Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates -   / stackdevelopers2  
►Join Facebook Group to resolve your queries -   / stackdevelopers  
►Follow on Instagram -   / stackdevelopers2  
►Follow on GitHub - https://github.com/stackdevelopers

#laravel10 #laravel10tutorial #laravel