On Fri, Feb 27, 2015 at 2:12 AM, Ian Boston <[email protected]> wrote:
> ...do you look for the tenant property closest to the root to prevent someone
> with write permissions inside a tenant changing the tenant ID for some
> users or some content ?...

That happens in ContentDrivenTenantAdapterFactory [1] - currently I'm
looking for the closest sling:tenantRoot property in the tree, to
support nested content-driven tenants. I see your point though, you
could protect those properties by having them higher in the tree, or
in a shadow tree.

-Bertrand

[1] 
https://svn.apache.org/repos/asf/sling/whiteboard/bdelacretaz/multisling2015/cdtenants/src/main/java/org/apache/sling/ms2015/cdtenants/impl/ContentDrivenTenantAdapterFactory.java

Reply via email to