Enonic version: 7.0.2
I have create a service and mapped it’s controller in site.xml.
The service.xml looks like this:
<service> <allow> <principal>role:system.admin</principal> </allow> </service>
The mapping looks the following:
<mapping controller="/services/service/service.js" order="10"> <pattern>/service</pattern> </mapping>
When I enter it via
https://www.site.com/_/service/com.user.project/service, everything works as expected.
However if I open it via
https://www.site.com/service, I can enter it even if I am an anonymous user.