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

Restrict access to certain API endpoints on a per play basis #244

Open
ingoboerner opened this issue Apr 6, 2024 · 0 comments
Open

Restrict access to certain API endpoints on a per play basis #244

ingoboerner opened this issue Apr 6, 2024 · 0 comments

Comments

@ingoboerner
Copy link
Collaborator

In the CLS Infra Project we should investigate ways to work with in-copyright material. One solution to the problem is preventing access to the full text and offering derived text formats only. To use DraCor in such a scenario we would need to have a way to prevent the API from returning data on some of endpoints when the play identified by playname is subject to copyright.

For example, in case of a copyrighted text it could be possible to download a GEXF file from the download tab, but no files, that include text; the API endpoint returning network metrics should work, the endpoint returning stage directions should not, ...

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

No branches or pull requests

1 participant