Skip to content

[Dynapi] Actions permission check extension

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

Merge request reports