From 8a92dd0fd76d404dcf577357f9ec7766df95ee24 Mon Sep 17 00:00:00 2001 From: Fredrik Strand Oseberg Date: Wed, 11 Sep 2024 08:31:31 +0200 Subject: [PATCH] chore: add logging to new code path (#8133) --- src/lib/features/project/project-service.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib/features/project/project-service.ts b/src/lib/features/project/project-service.ts index 41280746351f..7080a37191d6 100644 --- a/src/lib/features/project/project-service.ts +++ b/src/lib/features/project/project-service.ts @@ -964,6 +964,17 @@ export default class ProjectService { (role) => role.permissions, ); + this.logger.info('-----------'); + this.logger.info( + 'filteredUserPermissions', + filteredUserPermissions, + ); + this.logger.info( + 'rolesToBeAssignedPermissions', + rolesToBeAssignedPermissions, + ); + this.logger.info('-----------'); + return canGrantProjectRole( filteredUserPermissions, rolesToBeAssignedPermissions,