In the previous tutorial, we setup authorization with https://spatie.be/docs/laravel-permission/v5/introduction with the help of our very own https://github.com/flixtechs-labs/laravel-authorizer and added the ability to manage users in our ecommerce website.

In this tutorial we continue from where we left from the previous post and add the ability to delete users the create roles the ability to assign roles to users the ability to assign permissions to a role the ability to assign users arbitrary permissions not provided by their role #deleting-users Deleting users

We need the ability to create update and delete roles, assign permissions to roles.

Now that we can create roles let's add the ability to edit the role and assign permissions.

Right now we can fully manage roles, assign permissions, assign roles to users.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners