Auth Extension For Different Module With Different Logins

Hi

i have an application with two modules

1)staff

2)admin

ie:





1)aplication/protected/modules/admin

2)aplication/protected/modules/staff

application is client 




The default section is client area, on these three area they have individual logins with the same table. so what are the changes need to integrate the auth extension to my application

You can use backend/frontend application structure.

or

you can manage your need with yii-user and rights module . by creating roles in rights and access to roles.

Hey,

You can use a similar application structure as this site, here’s a wiki article about it:

http://www.yiiframework.com/wiki/155/

If you need auth for both the frontend and backend you can place it under common/modules and configure it for both ends.

I hope this helps.