Skip to content

Commit 8272b54

Browse files
committed
Extra logging for testing
1 parent 3a082f7 commit 8272b54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/permissions/project.edit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = freq => new Promise((resolve, reject) => {
1818
const req = freq;
1919
req.context = req.context || {};
2020
req.context.currentProjectMembers = members;
21+
console.log(`Request user ID: ${req.authUser.userId} and members: ${JSON.stringify(members)}`)
2122
// check if auth user has acecss to this project
2223
const hasAccess = util.hasAdminRole(req)
2324
|| util.hasRoles(req, MANAGER_ROLES)

0 commit comments

Comments
 (0)