cakephp-3-acl-example
cakephp-3-acl-example copied to clipboard
Run AclExtras on Sharded/Multitenant Database
I have developed a multi-tenant app using http://mark-story.com/posts/view/using-cakephp-and-a-horizontally-sharded-database So now am able to use same codebase different db for each subdomain.e.g db2.xxx.com this connects to db2. My dilemma is how to run AclExtras on db2 ,it defaults to the main db xxx as configured in connection/app.php. Is there a way to specify --connection option when running acl commands