Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
DS-3572: Check authorization for a specified user instead of currentUser #1715
tomdesair left a comment
I've suggested some changes.
That method in the AuthorizeService was introduced by this commit: 9817028
So it seems we can test this by using JSPUI RequestItemServlet. I'm not a JSPUI expert but it seems that we can test this like this:
--> I expect that the private bitstream of that item is attached even though they are not available to the anonymous group because the
As first action on this PR I fixed the test. No it fails when the PR is not in place and succeeds when the PR is.
This PR needs to be rebased. Some caching was added to
I rebased this and updated my fix for the issue. The test currently is failing. I think the culprit is
@tomdesair Could you please take a look if you see any reason why the test still fails? Are you sure