suggest for authentication library |
[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
[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? |
Welcome Guest, Not a member yet? Register Sign In |