Skip to content

Data Passport POC#2858

Draft
rushtong wants to merge 1 commit intodevelopfrom
gr-data-passport
Draft

Data Passport POC#2858
rushtong wants to merge 1 commit intodevelopfrom
gr-data-passport

Conversation

@rushtong
Copy link
Copy Markdown
Contributor

@rushtong rushtong commented Apr 8, 2026

Addresses

Ticket: TODO

Summary

Provides an admin endpoint to provide a data passport POC according to https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5372874

Example response:

{
  "ga4gh_passport_v1": [
    {
      "iss": "https://duos.org",
      "sub": "DUOS-000702",
      "iat": 1775672927,
      "exp": 1775676527,
      "ga4gh_visa_v1": {
        "type": "ConsentedDataUseTerms",
        "asserted": 1702587625,
        "value": "https://duos.org/dataset/DUOS-000702/dataUse",
        "source": "https://duos.org",
        "by": "dac"
      }
    },
    {
      "iss": "https://duos.org",
      "sub": "DUOS-000702",
      "iat": 1775672927,
      "exp": 1775676527,
      "ga4gh_visa_v1": {
        "type": "OversightBodies",
        "asserted": 1563753600,
        "value": "https://duos.org/dac/3",
        "source": "https://duos.org",
        "by": "dac"
      }
    },
    {
      "iss": "https://duos.org",
      "sub": "DUOS-000702",
      "iat": 1775672927,
      "exp": 1775676527,
      "ga4gh_visa_v1": {
        "type": "RequiredAgreements",
        "asserted": 1713386755,
        "value": "https://duos.org/daa/1",
        "source": "https://duos.org",
        "by": "so"
      }
    }
  ]
}

TODOs

  • Verify with product on format and values
  • Add verification that user has appropriate access. Currently admin restricted, but should be generically open.

Have you read CONTRIBUTING.md lately? If not, do that first.

  • Label PR with a Jira ticket number and include a link to the ticket
  • Label PR with a security risk modifier [no, low, medium, high]
  • PR describes scope of changes
  • Get a minimum of one thumbs worth of review, preferably two if enough team members are available
  • Get PO sign-off for all non-trivial UI or workflow changes
  • Verify all tests go green
  • Test this change deployed correctly and works on dev environment after deployment

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant