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

Enable Search via Login only #539

Closed
margaretha opened this issue Mar 10, 2023 · 1 comment
Closed

Enable Search via Login only #539

margaretha opened this issue Mar 10, 2023 · 1 comment
Milestone

Comments

@margaretha
Copy link
Contributor

Search and match info functions in Kustvakt-full use "availability" field to restrict user access to data according to the corpus data licenses. In some cases, such as the ICC (International Comparable Corpus) instance, the corpus data doesn't contain "availability" field, and access to data should be restricted by login only.

We can enable this by disabling CollectionRewrite and implementing custom resource filter for the search and match info web-services. The resource filter should be configurable via a kustvakt configuration file.

@margaretha margaretha added this to the Version 0.69.3 milestone Mar 10, 2023
@margaretha
Copy link
Contributor Author

Implemented in 1960ea5

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