Skip to content

Commit 471e753

Browse files
authored
Merge pull request #778 from danieltruong/fix/mongodb-44-textscore
fix: use roles parameter in projectDAO redact stage
2 parents 4ee727f + 796f313 commit 471e753

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/dao/projectDAO.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ exports.getProjects = async function(roles, pageNumber, pageSize, sortBy, keywor
212212
$setIsSubset:
213213
[
214214
[ '$$fieldTag' ],
215-
[ 'public' ]
215+
roles
216216
]
217217
}
218218
}

openshift/templates/jobs/minio-restore/minio-restore.dc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ objects:
9595
test: false
9696
triggers:
9797
- imageChangeParams:
98+
automatic: true
9899
containerNames:
99100
- ${NAME}
100101
from:

0 commit comments

Comments
 (0)