Skip to content

Commit

Permalink
Merge pull request #64 from MeasureAuthoringTool/MAT-6743/adminApiToG…
Browse files Browse the repository at this point in the history
…rantAccess

MAT-6743 changed the filter criteria for my cql libraries
  • Loading branch information
sb-prateekkeerthi authored Mar 11, 2024
2 parents 482cc41 + a76a0aa commit a4dd173
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public List<CqlLibrary> findAllLibrariesByUser(String userId) {
.orOperator(
Criteria.where("librarySet.owner").is(userId),
Criteria.where("librarySet.acls.userId")
.is(userId)
.regex("^\\Q" + userId + "\\E$", "i")
.and("librarySet.acls.roles")
.in(RoleEnum.SHARED_WITH));
MatchOperation matchOperation = match(librarySetCriteria);
Expand Down

0 comments on commit a4dd173

Please sign in to comment.