Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

How to give Permission to user dynamically using multiple checkbox in Laravel

First let’s go to your Laravel project And add your database this field

`Permission` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ‘Reject’,

And go to your blade file Permission url Ya route defined them checkbox and add button click

url: “{{eventmie_url(‘admins/userpermittrip’)}}/” + email,

And go to route

Route::post(‘/userpermittrip’, ‘Admin\AdminTPController@storeupermission’);

Go to your controller and your function this code add

Related Posts

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence