Displaying 1 result from an estimated 1 matches for "owned_object".
2010 Aug 17
0
Tricky Master User Query - need MySQL help
...= '%n' AND domain_name = '%d' AND owns_domain='1' AND
'%d'='%{login_domain}'
So - here's where we get tricky.
I have another table called "ownership" where I have 2 fields which is a
pairing of email addresses (login_id) and domains owned (owned_object).
Data might look like this:
joe at blow.com domain1.com
joe at blow.com domain2.com
Since joe at blow.com owns both domain1.com and domain2.com I want him to
be able to log in as anyone in those 2 domains as a master user.
Examples:
tom at domain1.com*joe at blow.com
harry at domain2.co...