-
Notifications
You must be signed in to change notification settings - Fork 86
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
Sparql authorization cache fixes #450
Sparql authorization cache fixes #450
Conversation
cd2e9f3
to
76bf6f5
Compare
Resolved merge conflict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@litvinovg works for me.
I have run tests and it is passing. I have tried to revert changes in SparqlSelectQueryResultChecker class and tests are failing.
Only the code in the last commit has been reviewed. I have investigated a little bit other approaches in copying a set and there is no clear recommendation whether copy constructor or clone method are better approaches comparing to using addAll method (approach used here). Therefore, I would suggest keeping it as is.
home/src/main/resources/rdf/accessControl/firsttime/template_update_related_allowed_property.n3
Outdated
Show resolved
Hide resolved
76bf6f5
to
25430cd
Compare
25430cd
to
4fa8966
Compare
VIVO GitHub issue
Additional notes
This PR is stacked on top of #444
Only the last commit is related to this PR.
What does this pull request do?
Fixes failing authorization checks due to corrupted sparql results cache.
What's new?
Fixed SparqlSelectQueryResultsChecker
Added tests to verify that issue is resolved.
Log cases when model wasn't provided as errors.
How should this be tested?
Interested parties
@VIVO-project/vivo-committers