nam797 Posted June 21, 2012 Share Posted June 21, 2012 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 More sharing options...
Larry Posted June 26, 2012 Share Posted June 26, 2012 I've read this a couple of times now and I'm not quite following what you're saying. Could you better explain the relationships involved? E.g., sited vs. custa? Link to comment Share on other sites More sharing options...
Recommended Posts