Hi,
I need to provide anonymous access to Mapbox styles created in GeoServer. Traditionally I would use URLs similar to
http://localhost:8080/geoserver/rest/workspaces/MyWorkspace/styles/MyMBStyle.mbstyle
and I would add the following configuration to the rest.properties file
/rest/workspaces/MyWorkspace/styles/**;GET,HEAD,OPTIONS=IS_AUTHENTICATED_ANONYMOUSLY
/**;GET,HEAD,OPTIONS=ROLE_ADMINISTRATOR
/**;POST,DELETE,PUT=ROLE_ADMINISTRATOR
However, since the change GEOS-11664 was applied, assigning permissions on the workspace for the role ROLE_ANONYMOUS is now necessary, which makes sense, but I was expecting that since it is the anonymous role, Read permissions would be enough to access the resource instead of having to assign Admin permissions.
If only Read permissions are assigned, then you get a 404 Not Found response with the message: “No such style MyMBStyle in workspace MyWorkspace”.
