ACL Laravel 5.3

Asked

Viewed 1,018 times

-1

Is there any tutorial to create the structure of ACL (Permissions and roles) for Laravel 5.3? I tried to use the Zizaco/Entrust package, but even following the setup steps of github it didn’t work.

  • Makes a mistake ?

  • 1

    If I were you right now, I would make a table of roles for myself a table user_roles (N:M) would make the relationship would register roles and user_roles registration and after that a middleware, because, these packages often have more than you need. Initial logic is this and has a github example being both classes. Not that you should not use some day, have excellent packages for example this: artisans/defender

1 answer

-2

Friend, I just implemented for Laravel 5.3, I tried to use Zizaco but it is a package for 5.2 and I still say more has much more than you need. Take a look at what I started to do, might help https://github.com/pabliciotjg/ACL_LARAVEL

  • Thank you very much Thiago, I will study the system you made. I thank you again for the help.

  • Since I’m back to messing with the ACL I completed this whole part I’ve already eaten the rest, if you give a git pull you’ll see that it’s complete already, with Permissions roles and the specific permission for each user, To test correctly you besides using the latest version of mysql have to run the Migrations and the Seeds ok?? when we doubt!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.