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
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Artificial Intelligence