Hi,
I am using the standard user login / authentication provided by Yii, and I have got it so that a user can login.
I want to know how to know when a user is logged in so I can use it in my view files, like only display certain things to users when they are logged in.
I also noticed that there are three levels of access, guest, normal, admin. I have not actually implemented any "admin" into my application so what is all this "admin" about.
Generally this is done via the database tables, no?
Also I noticed can do user permissions for you based on this, can Yii’s user permissions still be used based on the value in the database? Rather than just guest, normal, admin?