[eluser]NikhilSukul[/eluser]
I got it working, :-)
but i have a question.
Let's say i am revamping an application in which the users and the groups are predefined. The number of users are in hundreds. How can i use this ACL library to use the existing database, so that i can control the users and groups permission in phpgacl interface.
One more thing, in case of authenticated users invalid or wrong data, if i want to redirect to my own login controller, how can i do that. Example:
i have
localhost/index.php/blog
and
localhost/index.php/blog/comments
through PHPGACL interface, i made
DENY for comments function. So, when i go to this url:
localhost/index.php/blog/comments
i get a Http Auth popup, if i enter invalid entries, i goes to "
blog/login", but in my case my login controller in
index.php/login.
How to redirect to
index.php/login rather than
blog/login?