Jump to content
Larry Ullman's Book Forums

My Multi-Tenant Solution


nam797
 Share

Recommended Posts

Hello,

 

I used Larry's post of custom authentication for getting users logged in with Yii and now I need to separate what each user can see by having a siteid field to not show custb data to custa. I used a post in the Yii forums to get an idea of what has to be done.

 

link: http://www.yiiframework.com/forum/index.php/topic/29803-approach-to-multi-tenant-application-using-a-behavior/

 

My problem now is that for the login i don't want the select statement to have the where clause siteid = ? appended. Does anyone have a better solution for this or an idea of how to not have the where clause appended when there logging in?

 

 

Thanks,

Nathan

Link to comment
Share on other sites

 Share

×
×
  • Create New...