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

Make display authorization checks for each displayed object property statement #451

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

litvinovg
Copy link
Contributor

@litvinovg litvinovg commented Mar 18, 2024

VIVO GitHub issue

What does this pull request do?

Until now permission to display object property statement is only checked once for all statements of a property by using ?SOME_URI as a dummy object.
This PR adds authorization requests to check permissions for each property statement displayed on profile page.

What's new?

Added authorization requests for each object property statement displayed in profile in collated and uncollated object property template models.

How should this be tested?

Interested parties

@VIVO-project/vivo-committers

chenejac
chenejac previously approved these changes Mar 28, 2024
Copy link
Contributor

@chenejac chenejac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@litvinovg well done

I have tested it by following instructions. No complaints for the code.

@chenejac chenejac merged commit 0f18627 into vivo-project:main Apr 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants