Aidbox / Issues

Issue tracker for Aidbox FHIR backend by Health Samurai
7 stars 0 forks source link

tokenizing FHIR’s comma separated values #219

Closed niquola closed 2 years ago

niquola commented 4 years ago

Idea on tokenizing FHIR’s comma separated values to use in AccessPolicies. For instance: url: 'http://localhost:8080/fhir/Coverage', method: 'get', params: { beneficiary: 'bart,lisa' }, When a request comes in, we put all the dependents of a user in its jwt as a claims array, including himself (homer): deps: [homer, bart, lisa,marge, maggie] If we could get the params as: params: { beneficiary: [bart, lisa] } then we could do perhaps a json schema array enum check. What do you guys think? We want to check that bart and lisa is inside the JWT array. SQL is going to be horrible slow for this.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 30 days.