Skip to content

Commit

Permalink
chore: add logging to new code path
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikOseberg committed Sep 11, 2024
1 parent e1b7cfd commit 95cfa66
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/lib/features/project/project-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95cfa66

Please sign in to comment.