Welcome Guest, Not a member yet? Register   Sign In
suggest for authentication library
#1

[eluser]davidino86[/eluser]
hello,

who can give me a suggest for an authentication library that have a permissions Role like admin guest and others?

thanks in advance
#2

[eluser]Flemming[/eluser]
you could look at this excellent ACL: http://ellislab.com/forums/viewthread/111916

Create your users table and assign each user a group. Then create a groups table, eg.

Group 1 (super user): 1,2,3,4
Group 2 (admin): 2,3
Group 3 (guest): 4

when a user logs in, store their permissions in a session. The ACL will check the session against the URI they are trying to access and either grant or deny access. Very slick!

hope that helps?




Theme © iAndrew 2016 - Forum software by © MyBB