Skip to content

Commit

Permalink
Fixed runtime issue of ShellRepository.findByIdExternalAndExternalSub…
Browse files Browse the repository at this point in the history
…jectId()
  • Loading branch information
sm29105 committed Dec 12, 2023
1 parent 349fd4d commit 4545a65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public interface ShellRepository extends JpaRepository<Shell, UUID>, JpaSpecific
@Query( value = "select * from shell s " +
"where s.id_external = :idExternal and (" +
":tenantId = :owningTenantId " +
"or s.id in (" +
"select si.fk_shell_id from shell_identifier si where exists (" +
"or exists (" +
"select si.fk_shell_id from shell_identifier si where si.fk_shell_id = s.id and exists (" +
"select sider.ref_key_value from SHELL_IDENTIFIER_EXTERNAL_SUBJECT_REFERENCE_KEY sider " +
"where (sider.ref_key_value = :tenantId " +
"or (sider.ref_key_value = :publicWildcardPrefix and si.namespace in (:publicWildcardAllowedTypes) )) " +
Expand Down

0 comments on commit 4545a65

Please sign in to comment.