From: "=?ISO-8859-1?Q?Gr=E9gory_Joseph?=" Received: from [213.173.174.10] (account gregory.joseph@magnolia.info HELO [10.0.0.107]) by mail.obinary.com (CommuniGate Pro SMTP 5.1.10) with ESMTPSA id 14579673 for user-list@magnolia.info; Wed, 23 Jul 2008 12:35:15 +0200 Message-Id: <2CEF3F4E-14B3-420F-8388-51B90B9FE4D2@magnolia.info> To: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: [magnolia-user] PUR for multi domain setup Date: Wed, 23 Jul 2008 12:35:14 +0200 References: X-Mailer: Apple Mail (2.926) On Jul 23, 2008, at 12:21 PM, Will Scheidegger wrote: > On 23.07.2008, at 12:05, Gr=E9gory Joseph wrote: > >> Yeah, that is a similar approach we've taken for the new cache =20 >> configuration - you can have multiple cache configs, and the cache =20= >> filter is configured to use the appropriate one. > > Ah, interesting. I'll have a look at how you've done things there. > >> But you'll have to think about handling of duplicates etc. What if =20= >> the *same person* wants to register on siteX and siteY, how do you =20= >> handle that ? (because as it, it will just be rejected, saying this =20= >> user already exists, while what you want is probably add some roles =20= >> or groups to it) > > Well, if the sites are related (and therefore user accounts should =20 > be "shared") then one could really solve this via roles/groups (e.g. =20= > the "Apple ID" which might be valid for bugreport.apple.com as well =20= > as for the Apple Store or .Mac). If the sites are not related at all =20= > I don't see a problem in showing a > "username already taken" error message. Frustrating if its the actual same person. >> Also: defaultBaseUrl is what it says it is - if you add this in =20 >> public-user-registration config it, you'll have to rename it. But =20 >> at that point, you'll probably want different emails anyway, so you =20= >> could just as well hardcode it in the email. > > Right, but you would at least want to specify different mail =20 > templates depending on the site and language. Well you configure the mail templates in the strategies, and if you're =20= using freemarker, you can stuff the language in the template name, ie =20= mail.html, mail_fr.html, mail_de.html and so on. (this is a built in =20 freemarker feature btw, we just pass it the correct locale) -g=