Stream: smart
Topic: Are scopes case sensitive?
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?
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
).
Josh Mandel (Jun 28 2021 at 20:26):
Happy to add a clarification if that's helpful! Do you want to submit a tracker?
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.
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