EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10331
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Rest API permissions
- To: David R Newman <drn@ecs.soton.ac.uk>, "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Rest API permissions
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Date: Mon, 26 Jan 2026 21:50:55 +0000
|
CAUTION: This e-mail originated outside the University of Southampton.
Hi David,
Thank you! Indeed, I don't think the rest api is needed for oai-pmh, as it continues to work without those permissions set for the public_roles.
Tomasz
________________________________________________
Tomasz Neugebauer
Tel. / Tél. 514-848-2424 ext. / poste 7738
Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8 library.concordia.ca
From: David R Newman <drn@ecs.soton.ac.uk>
Sent: January 26, 2026 12:20 PM To: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>; eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk> Subject: Re: [EP-tech] Rest API permissions Attention This email originates from outside the concordia.ca domain. // Ce courriel provient de l'extérieur du domaine de concordia.ca Hi Tomasz,
I am not sure whether these permissions are needed for OAI-PMH, I don't think they are. However, if you can access the metadata for eprints in the live archive via /cgi/oai2 (e.g. https://pub.demo.eprints-hosting.org/cgi/oai2?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai:pub.demo.eprints-hosting.org:1) after you have removed these permissions and reloaded Apache, then it would be clear they are not needed for OAI-PMH.
I think the user_roles.pl permissions are only required for the /rest/ path API and not OAI-PMH or the content negotiation API using the URIs for eprint records. This content negotiation API uses the public XML export plugin, which will remove any metadata fields that have their export_as_xml attribute set to 0, if the request is unauthenticated. (Also, it will forbid any requests for eprint records not in the live archive).
Regards
David Newman
On 26/01/2026 17:10, Tomasz Neugebauer wrote:
|
- References:
- [EP-tech] Rest API permissions
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] Rest API permissions
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Rest API permissions
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] Rest API permissions
- From: David R Newman <drn@ecs.soton.ac.uk>
- [EP-tech] Rest API permissions
- Prev by Date: Re: [EP-tech] Rest API permissions
- Next by Date: [EP-tech] Export --> Import on eprints 3.4.7
- Previous by thread: Re: [EP-tech] Rest API permissions
- Next by thread: [EP-tech] Export --> Import on eprints 3.4.7
- Index(es):
