opensrp / fhircore

FHIR Core / OpenSRP 2 is a Kotlin application for delivering offline-capable, mobile-first healthcare project implementations from local community to national and international scale using FHIR and WHO Smart Guidelines on Android.
https://smartregister.org
Apache License 2.0
53 stars 41 forks source link

[Sync Enhancement | Data Access Checker] Add a deployment config called `ClientLocation.userAssignedLocation` #3053

Closed dubdabasoduba closed 6 months ago

dubdabasoduba commented 6 months ago

Keyword Definition

Describe the feature request.

Technical Description of enhancement

Acceptance criteria

Implementation plan (For Engineers) The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed. i.e. Describe how you intend to solve the problem

pld commented 6 months ago

Is this defining the sync strategy? Or the metatag? I think the sync strategy

dubdabasoduba commented 6 months ago

Is this defining the sync strategy? Or the metatag? I think the sync strategy

This is defining a config that informs the FHIR info Gateway how to validate generate tags for apps that want to validate that the Location IDs provided in the syncLocation params are part of the user assignment graph as defined here

pld commented 6 months ago

Hmm, does this go in the OpenSRP mobile app or in the gateway? I don't think we'd want the app to be sending something that affects how the validation occurs, because in an adversarial situation they could change that validation.

dubdabasoduba commented 6 months ago

@pld as discussed this goes to the gateway

dubdabasoduba commented 6 months ago

@ndegwamartin @lincmba closing this after our chat on Friday. We do not need it.