Update the user role
after a user with role 'Adherant' participate on an activite , i want his role to change from 'Adherant' to 'Member' ,here is my code but it's not working and I dont know why !!!

2 Replies
Take a look at the docs : https://spatie.be/index.php/docs/laravel-permission/v6/introduction
Maybe that can help.
If not, what error do you get, does Member get assigend.
What is happening now?
Introduction | laravel-permission
laravel-permission
everything goes well except the role is not updated , also i can reach and control all columns but the role column