RE: [Sling Testing] Mocking a Resource Resolver w/ URL Mappings

2017-06-27 Thread Stefan Seifert
i've added a test case for your use case, seems to work: https://github.com/apache/sling/commit/9cfb76c717abdab409af4db552f245a8a63a9e72 the problem in your test harness ist he usage of RESOURCERESOLVER_MOCK - this is only a very simplified of resource resolver implementation and has nothing to

Can ACL's be applied on resources provided by ResourceProviders

2017-06-27 Thread Bart Wulteputte
Hi, I've been using the JcrContentLoader json format in combination with an FsResourceProvider of type INITIAL_CONTENT. I was wondering if ACL's can be applied to resource provided by ResourceProviders. According to the docs of JcrContentLoader, it should be possible, however, SLING-6960