Skip to content

Commit

Permalink
support for introspect "sub" missing base URL and/or resource type wh…
Browse files Browse the repository at this point in the history
…en fully-qualiied "fhirUser" is available as a fallback
  • Loading branch information
timcoffman committed Dec 2, 2024
1 parent 6e6dd5c commit 2dd1c6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void cannotStoreConditionWhereSubjectIsUnrelatedToAuthorizedUser() {

@Test
void canStoreConditionWhereSubjectIsRelatedToAuthorizedUser() {
IIdType authorizedRelatedPersonId = new IdType( "RelatedPerson", createTestSpecificId() ) ;
IIdType authorizedRelatedPersonId = new IdType( FOREIGN_PARTITION_NAME, "RelatedPerson", createTestSpecificId(), null ) ;
String token = mockPrincipalRegistry.register().principal( "MyRelatedPerson", authorizedRelatedPersonId.toString() ).token() ;
mockPermissionRegistry
.person( authorizedPatientId.toString() )
Expand Down

0 comments on commit 2dd1c6c

Please sign in to comment.