[eluser]taurine[/eluser]
Been trying out auth projects the past few days, read all 58 pages, and have a few questions.
I noticed this does something different than tank_auth. That is create a database table for sessions. I was wondering what the benefits of that are, why you'd do it one way or the other, etc. Admittedly, my knowledge of sessions is lacking even in general php.
If I were to want all user's with group 'moderator' or higher, how would I do that? From what I can tell, each group authorized must be specifically mentioned in an array. If a moderator is allowed, surely the admin is allowed. Assuming my group id's are in order, with Admin being 1, and increasing lower ranks getting higher numbers... I'm thinking of a function like group_at_least(3), where group id's 3 and lower are good to go. Does that make sense or am I just complicating things?
Finally, why not just use the timestamp in 'created_on' as the salt? Or say, the last X numbers of the timestamp?