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

[Dynapi] Actions permission check extension #343

Closed
wants to merge 45 commits into from

Conversation

litvinovg
Copy link
Contributor

A follow up to this PR

What does this pull request do?

Extends permission checks for dynamic api actions

What's new?

  • Added UserAccessWhitelist to check permission by user email
  • Add publicAccess property setter to allow public access to Action
  • Added tests to test:
  • Only root allowed if permission access not configured
  • In case public access is set to true, then anyone can access action
  • Access allowed when user is in whitelisted group
  • If user email is allowed then user is allowed to access action

How should this be tested?

Run tests

Interested parties

@VIVO-project/vivo-committers

litvinovg and others added 30 commits August 26, 2022 16:25
added some test cases TODO: check template format and configure report format
…al paramters with initialization by default value and overriding setting in Parameter
Sparql construct language filtering test added
* fix: get back language filtering for sparql construct query

* feat: LanguageFilteringRDFService sparqlConstructQuery tests added
…datorsTest.java

Co-authored-by: Dragan Ivanovic <chenejac@uns.ac.rs>
…/conversion/ParameterConverterTest.java

Co-authored-by: Dragan Ivanovic <chenejac@uns.ac.rs>
…datorsTest.java

Co-authored-by: Dragan Ivanovic <chenejac@uns.ac.rs>
@litvinovg
Copy link
Contributor Author

Superseded by #364

@litvinovg litvinovg closed this Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant