[eluser]Sean Downey[/eluser]
Hi David
Great library - I really like it especially the multi groups part.
I have sent you some code which allows for a hierarchy of groups rather than linear levels.
eg
user
staff
- forums
- forums_admin
- news
- editor
- administrator
I hope this is a good addition to the code.
I have a couple of questions:
- I read the entire thread and couldn't find where you moved the config items into the library itself instead of keeping them in a seperate /config/auth.php file
What was the reason for moving them back into the library?
- the clear function seems to overwrite the config settings previously set above the constructor function. This means you are setting up the variables twice.
I think this could be changed a bit. I realise that "clear" is on;y called from the "initialize" function.
Thanks again for the great library.
I haven't used it in a project yet but I reckon I will soon.