I have main site example.com where users can register and login or just login with openid. Logged in users can create their own sites with subdomains like mysite.example.com. Every user can have multiple sites. Every site is cakephp app. Every cake app has its own ACL.
How do I deploy authorization so users logged in to the main site, are also logged in to their own sites.