Skip to content

Commit

Permalink
feat: grant access to the repositories to Dementors (#2379)
Browse files Browse the repository at this point in the history
  • Loading branch information
valerydluski committed Nov 27, 2023
1 parent 2e47e0a commit 99f537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/services/repository.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class RepositoryService {
});
const githubIds = mentors
.map(m => m.githubId)
.concat(courseUsers.filter(u => u.isManager || u.isSupervisor).map(cu => cu.user?.githubId))
.concat(courseUsers.filter(u => u.isManager || u.isSupervisor || u.isDementor).map(cu => cu.user?.githubId))
.filter(Boolean);
for (const githubId of githubIds) {
await this.addMentorToTeam(this.github, course, githubId);
Expand Down

0 comments on commit 99f537c

Please sign in to comment.