Hari, I have an existing cake 1.1 based app. I would like to add a new multi user feature.
There would be a database and in the database there would be the tables prefixed by usernames, like user1_maintable, user1_optionstable, user2_maintable, user2_optionstable, etc I just want to give an access to testers, so there would be 2-3 users only. My idea is to give a login page to the users and from the login datas the database.php would chose the proper prefix for the table names. Is it possible to do? I could change my app to handle multi-users but this idea above would be much more faster, and I do not have to change all the tables to have a user_id filed. And as I need this only for a temporary time I do not have to worry about maintenance difficulties. By this when I have a new release I could upgrade for the 3 testers in one step, I do not have to upgrade 3 different places. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
