Skip to content

Commit

Permalink
Merge pull request #200 from bcgsc/release/v7.9.2
Browse files Browse the repository at this point in the history
Release/v7.9.2
  • Loading branch information
elewis2 authored Oct 5, 2022
2 parents 1030985 + 0a10a43 commit e3c0923
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/middleware/acl.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = async (req, res, next) => {
} else {
boundUser = req.report.users.some((reportUser) => {
return reportUser.user.ident === req.user.ident;
});
}) || req.report.createdBy?.ident === req.user.ident;
}

// If the user doesn't have access to the project this report
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "ipr-api",
"version": "7.9.1",
"version": "7.9.2",
"description": "Integrated Pipeline Reports API",
"main": "bin/server.js",
"scripts": {
Expand Down

0 comments on commit e3c0923

Please sign in to comment.