I’m thinking of useing sub-domains as account keys, something I’ve played with previously.
I have accounts and users, fairly standard, except that users can belong to many accounts, and accounts can have many users.
So I figure I need to have an area on the main domain, that allows
users to view their account memberships and things. Sort of like
a dashboard for each user. When they login without a sub domain,
all their membership informaition, and cross-account information ( eg
todo’s for all accounts ) would be available. When they log in
with a sub domain, all information is scoped to the account.
Is this thinking fraught with danger? or reasonably sane?