Hi
I have the following scenraio. There are customers and admin users.
They are in separate tables (customers and users). Customers can login, list
their data, read general content, etc.. Users can only have access to an
admin area to edit general content.
This way, customers cannot edit general content and users cannot read/edit
customers data.
If someone logs in as a customer and have a valid identity should not be
allowed to access admin area and must be the same for site users. A logged
in site user must be seen as "not logged in" in the site.
The application fllows the conventional structure:
application
\configs
\controllers
\forms
\layouts
\models
\views
\modules
\admin
\controllers
...
What's the best approch to solve this as I need to authenticate users in
different tables?
Thanks in advance
regards
holo