Hi,
I have a mbstyles defined in a GeoServer workspace. We have always been able to request these styles as an anonymous user - such as:
https:///geoserver/rest/workspaces/TestWS/styles/MBStyle_Test.mbstyle
Since we moved past 2.26.2, this no longer works.
I can see that security associated with REST was tightened as part of the 2.26.3 release. We already had the entries in the rest.properties file. However, even with these rules included in the rest.properties file - we get a 404 response. However, if we login to Geoserver as the admin user, and then in a different tab request the style file - it now works.
So, the style exists in the workspace, our GET request is formatted currently, but we are unable to access the style anonymously.
The following is the rules we have in the rest.properties file:
/rest/workspaces/*/styles/**;GET=IS_AUTHENTICATED_ANONYMOUSLY
/rest/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
Help on this matter would be very much appreciated