-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
ACL access allow_ignore_embargo doesn't work with a user #715
Comments
Circling back to this issue, here's a failing test case to prove the point:
It's the first assert that fails as the CDX query returns no lines although fetching the actual data works. |
krakan
added a commit
to krakan/pywb
that referenced
this issue
Feb 13, 2023
In particular the X-Pywb-ACL-User header must be forwarded in order for it to be able to control CDX-queries
8 tasks
tw4l
pushed a commit
that referenced
this issue
Feb 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When specifying an embargo for a collection and then putting allow_ignore_embargo for a specific user in the aclj-file, the embargoed url:s don't show up in the search results. If one circumvents the search results and goes directly to the page view, the page actually shows up.
Steps to reproduce the bug
config.yaml:
allows.aclj:
Actual behavior
Expected behavior
Screenshots
Environment
Additional context
The docs specifically mentions this use case.
The text was updated successfully, but these errors were encountered: