Support the ongoing development of Laravel.io →
Configuration Authentication Architecture
Last updated 2 years ago.
0

Hi toneee,

There are actually a few different ways of managing user types (aka groups). My application uses Sentry, but other people prefer Confide. I'm sure there are others, just look around Packagist.

But basically the concept is a user belongs to groups. Groups are the types of accounts that you want your application to respond to differently. Take a look at Sentry's documentation to get a better feel.

https://cartalyst.com/manual/sentry/2.1#groups

Last updated 2 years ago.
0

Hello, I highly recommend the Entrust package,here is the link:

http://packalyst.com/packages/package/zizaco/entrust

it will simplify the procedure enormously and it has a really good documentation, I'm currently using it to create usergroup's roles with success.If you want to check if a user has permissions to access a page I encourage you to read about route filters in the documentation,here is the link:

http://laravel.com/docs/4.2/routing#route-filters

Entrust goes very well with Confide the package B1nTree mentioned, a really good package for authentication. You should use Entrust for authorazation.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

toneee toneee Joined 28 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.