FHIR Chat · Are scopes case sensitive? · smart

Stream: smart

Topic: Are scopes case sensitive?


view this post on Zulip Cooper Thompson (Jun 28 2021 at 19:28):

The spec seems to be silent(?) on whether the SMART scopes are case sensitive or not. We specifically ran into an issue of 'Read' vs. 'read' for the permission. The EBNF uses literal strings in the grammar, so that might imply that the grammar-defined literals are case sensitive. e.g. 'read'. Is case implied by those literal strings in the EBNF? Should we be more explicit?

view this post on Zulip Josh Mandel (Jun 28 2021 at 20:26):

The intention is certainly for scopes to be case-sensitive -- that's why we use mixed case in defining them (e.g., patient/Patient.read, rather than PATIENT/PATIENT.READ or patient/patient.read).

view this post on Zulip Josh Mandel (Jun 28 2021 at 20:26):

Happy to add a clarification if that's helpful! Do you want to submit a tracker?

view this post on Zulip Cooper Thompson (Jun 29 2021 at 14:33):

FHIR#32989 It feels nit-picky, but we ran into an issue with case sensitive scope comparison a few days before a PRD go-live, so having it be more explicit would be nice.

view this post on Zulip Josh Mandel (Jun 29 2021 at 14:53):

Not nitpicky -- good stuff, thanks for the call out


Last updated: Apr 12 2022 at 19:14 UTC