Open pavan-cs opened 6 years ago
I support this question. After reading the description, I did not understand how to add new permissions to the existing role.
I strongly recommend moving away from this plugin, it has not been updated in a long time. I'm using https://github.com/spatie/laravel-permission now and works like charm.
There is a feature to attache role with the user
$user->attachRole($admin);
but there should also be a feature for update User Role, like$user->updateRole($agent);
other wise need to call directly DB to update