I want GeoServer rest security setup so that only a specific role can access everything under a specific workspace. This is what my /datadir/security/rest.properties
file looks like:
/**;GET=ADMIN
/**;POST,DELETE,PUT=ADMIN
/rest/workspaces/myworkspace/*;GET,POST,PUT,DELETE=myrole
But I get a 403 error with this:
curl "http://mygeoserver/geoserver/rest/workspaces/myworkspace/layers" -u "userinmyrole:password" -v
How can I secure a workspace in REST?