Hi,
I am trying to implement
org.apache.sling.resourceaccesssecurity.ResourceAccessGate component
(dependency version 1.0.0), with following properties:
* access.context=application
* operations=read
* path=/content/dam/.*
@Component(property =
{"access.context=application","operations=read","path=/content/dam/.*"},
service = ResourceAccessGate.class)
Once I deploy it, everything under all other paths (that are not
/content/dam) or other operations (create,update,delete,execute) is not
accessible anymore.
Currently as a workaround I have created another ResourceAccessGate
component with no path and for all operations, which I originally don't
want to check.
Q: is this expected behavior?
Best Regards,
Karolis
--
Karolis Mackevicius | Software Engineer
Netcentric Ibérica SLU
Camí Antic de València 54, 7-9ª, 08005 Barcelona
M: +34 667 493 362
karolis.mackevic...@netcentric.biz | www.netcentric.biz