1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

chore: add logging to new code path (#8133)

This commit is contained in:
Fredrik Strand Oseberg 2024-09-11 08:31:31 +02:00 committed by GitHub
parent e1b7cfd8dd
commit 8a92dd0fd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,