Hey,
I am upgrading my site to work with GeoNetwork 2.10.x. I use GeoNetworks
API's significantly to store, search and manage metadata for other
applications.
I got stuck with setting the privileges of records in GeoNetwork. I saw
this behaviour with other API's as well but found a way around it. But
here, I am really stuck.
I want to change the privilege of a new created record via
the xml.metadata.privileges call.
I post to my server URL
http://[IP]:8080/geonetwork/srv/eng/xml.metadata.privileges
the following POST body (content-type: application/xml):
<?xml version="1.0" encoding="UTF-8"?>
<request>
<id>2090</id>
<_1_1/>
<_1_2/>
</request>
The Id is current and I use BasicAuth to authenticate the user. But I get a
403 Forbidden error back from GeoNetwork with a HTML page with redirect me
to a error page.
Any help is really appreciated.
Thanks,
Rainer