Hi Bertrand, this may be something for the next version, but one question I asked myself is if it wouldn't make sense to move the actual /content also under the respective /tenants/T/content. Then we would have everything in one place which may make access control and isolation event easier.
Alex On Mon, Feb 2, 2015 at 4:30 PM, Bertrand Delacretaz <[email protected]> wrote: > Hi Stefan, > > Thanks for your feedback! > > On Mon, Feb 2, 2015 at 3:49 PM, Stefan Seifert <[email protected]> > wrote: > > ...* multi tenant scenario > > - what you describe is a solution for the "virtual hosting" multi-tenant > scenario as described here https://cwiki.apache.org/confluence/x/So2uAg > > - if this should be usable for the "massive multi site" scenario as well > additional requirements like nested tenants should be taken into account as > well.... > > Sure - as mentioned [1] is only about defining a content model that's > multi-tenant friendly. There's a number of "details" to figure out ;-) > > [1] > https://cwiki.apache.org/confluence/display/SLING/Ideas+for+a+multi-tenant+and+multi-module+content+model > > > > > * tenant-specific OSGi bundles > > - you plan for a solution to deploy tenant-specific OSGi bundles (using > the amdatu solution or something similar)... > > That's useful for any multi-tenant setup, yes. > > > ...- how do you want to protect against malicious code that may be > introduced by a tenant-specific bundle?... > > I don't know at this point, and if that's not possible running the > request processing code for all (hostile) tenants in a single OSGi > framework might not be possible. > > > ...- are we sure we find ways to protect against this in reliable > manner?.. > > No, not me at least. But a tenant-friendly content model would help > many scenarios anyway, IMO. > > > > > * tenant identification > > - you propose that the tenant identifier is always the next level below > /content. > > - this is quite inflexible, it should be possible to allow a deeper > structure to group tenants,... > > Yes, I realized that as well, we'll need some kind of marker property > that says where the top of a tenant content subtree is. > > > > > * modules/X/content/default > > - i do not fully understand this section, how should this work if > multiple independent modules are used by a tenant,... > > That might for example be CSS styles that a particular version of a > particular module needs. Not fully defined so far. > > For now I'm trying to stick to the "can we mix multiple versions of a > module and use various combinations for various tenants" problem. I > fully agree with you that a hostile multi-tenant environment requires > much more, but I think solving that particular problem is a useful > small step. > > -Bertrand > -- Alexander Saar Mobile: +49.172.8280280 E-Mail: [email protected]
