Skip to content

Commit e3c0923

Browse files
authored
Merge pull request #200 from bcgsc/release/v7.9.2
Release/v7.9.2
2 parents 1030985 + 0a10a43 commit e3c0923

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/middleware/acl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = async (req, res, next) => {
6868
} else {
6969
boundUser = req.report.users.some((reportUser) => {
7070
return reportUser.user.ident === req.user.ident;
71-
});
71+
}) || req.report.createdBy?.ident === req.user.ident;
7272
}
7373

7474
// If the user doesn't have access to the project this report

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "ipr-api",
4-
"version": "7.9.1",
4+
"version": "7.9.2",
55
"description": "Integrated Pipeline Reports API",
66
"main": "bin/server.js",
77
"scripts": {

0 commit comments

Comments
 (0)