Hello!
I’m writing some code that uses the XML services to automatically create records in Geonetwork. I’m able to create and delete records just fine – but I’m getting a 403 error when I try to use the xml.metadata.batch.update.privileges endpoint to make the new records publicly visible. This seems strange, since I’m using the same credentials that I use to delete metadata, which would seem to require the highest level of access. (In development, I’m just using a generic “admin” account, set as an administrator.)
Possibly related, I’m a bit confused about the section in the documentation<http://geonetwork-opensource.org/manuals/2.10.3/eng/developer/xml_services/metadata_xml_privileges.html#batch-update-privileges-xml-metadata-batch-update-privileges> that says that it’s necessary to “select” records with xml.metadata.select before applying the bulk privilege update. How are those two requests linked with one another? Are they just performed in sequence, one after the other?
Many thanks,
David