Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll 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