Hi All,
I am trying to create security rules on GeoServer through the REST API, I am trying to create the tutorial steps of the link below via REST, however, I am not getting success.
https://docs.boundlessgeo.com/suite/1.1.1/sysadmin/security/multiuser/index.html
I was able to create users and workspaces without problems, but when I get to the ROLES, it gives an error. The closest to creating that I got was this way:
curl -v -u admin:geoserver -XPOST -H “Content-type: text/xml” -d “ROLE_EDIT” http://localhost:8080/geoserver/rest/security/roles
And the GeoServer returned the following message to me: HTTP / 1.1 405 Method Not Allowed
What am I doing wrong? Is it possible to create ROLES and set permissions via REST?
···
Best Regards,
Fernando Quadro
http://www.fernandoquadro.com.br
https://www.linkedin.com/in/fernandoquadro/