Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API calls do not respect namespace restrictions #32

Open
bondjimbond opened this issue Jun 3, 2021 · 1 comment
Open

API calls do not respect namespace restrictions #32

bondjimbond opened this issue Jun 3, 2021 · 1 comment

Comments

@bondjimbond
Copy link

In an Islandora multisite, a query made to one of the sites (bchdp.arcabc.ca) is returning results from all of the sites (arcabc.ca).

A user requested a count of objects via the API to bchdp.arcabc.ca, and received a response of 712,000 -- which is the count for all of Arca.

This is of course very problematic, as it jumbles up results and sources. Can some code be introduced to respect namespace restrictions?

@bondjimbond
Copy link
Author

Example request: https://bchdp.arcabc.ca/islandora/rest/v1/solr/dc.title:*

This site is restricted to certain namespaces, but you can see in the first parts of the response that it's returning items from the "inaccessible" au namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant