Skip to content

Commit

Permalink
entitlement: add missing AND_CHECK_TENANT in queries
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
  • Loading branch information
pierre committed May 1, 2018
1 parent efceafa commit b4605c7
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -78,6 +78,7 @@ join (
on t.record_id = tmp.record_id
where t.type = :type
and <accountRecordIdField("t.")> = :accountRecordId
<AND_CHECK_TENANT("t.")>
<defaultOrderBy("t.")>
;
>>
Expand All @@ -99,6 +100,7 @@ join (
) tmp
on t.record_id = tmp.record_id
where <accountRecordIdField("t.")> = :accountRecordId
<AND_CHECK_TENANT("t.")>
<defaultOrderBy("t.")>
;
>>
Expand Down

0 comments on commit b4605c7

Please sign in to comment.