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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners