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

Timemaps should use the ACL of the original resource #1991

Merged
merged 1 commit into from
May 19, 2022

Conversation

whikloj
Copy link
Collaborator

@whikloj whikloj commented May 12, 2022

JIRA Ticket: https://fedora-repository.atlassian.net/browse/FCREPO-3825

What does this Pull Request do?

Timemaps are displaying a Link header for an ACL off of the Timemap (i.e. RESOURCE/fcr:versions/fcr:acl instead of RESOURCE/fcr:acl). That is an invalid identifier and so it not accessible.
This PR changes the link header to the Original Resource's ACL.

How should this be tested?

Before the PR, create any resource, get the Timemap and review the headers. See the rel="acl" one.
Pull in this PR and see how the Link header has changed.

Interested parties

@fcrepo/committers

@dbernstein dbernstein changed the base branch from main to 6.2.0-RC May 19, 2022 15:45
@dbernstein dbernstein merged commit 879f528 into fcrepo:6.2.0-RC May 19, 2022
@whikloj whikloj deleted the FCREPO-3825 branch July 28, 2022 19:37
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

Successfully merging this pull request may close these issues.

None yet

2 participants