Laravel 5.4 #20 : Roles and permissions (Part 2)

Today we are going to continue with the second part of roles and permissions in Laravel. What we are going to do is apply the restrictions depending on if the logged user has the permission or the role needed to do a particular action. We will change the Form Request, also some conditions that are in the view of the list of posts and also modify the policy of the posts.

Continue reading “Laravel 5.4 #20 : Roles and permissions (Part 2)”

Laravel 5.4 #19 : Roles and permissions (Part 1)

As I mentioned in several posts, I was going to write about how to add a role system in our project, the first post I’ll write about this will be this one. I don’t know how many parts it will have, but it will have several.

Today we will add the necessary package to be able to manage the roles and permissions of our project with Laravel.

Continue reading “Laravel 5.4 #19 : Roles and permissions (Part 1)”