Commit 577042be authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Iss #217 - Remove bypass of GL excluded groups

parent 9ab7a09f
......@@ -278,13 +278,7 @@ export class GitlabSyncRunner {
// build the user mapping to pass to cleanup
let projectUsers: Record<string, EclipseUserAccess> = {};
for (const pidx in projects) {
// check if any of the matched projects marks this as an external/skipped namespace
const project = this.eclipseProjectCache[projects[pidx]];
if (project.gitlab.ignored_sub_groups.some(v => v.localeCompare(self.full_path, undefined, { sensitivity: 'base' }) === 0)) {`Group '${self.full_path}' was marked as an external/protected namespace by project '${project.project_id}'`);
projectUsers = Object.assign(projectUsers, this.getUserList(project));
projectUsers = Object.assign(projectUsers, this.getUserList(this.eclipseProjectCache[projects[pidx]]));
// clean up additional users
await this.removeAdditionalUsers(projectUsers, self, ...projects);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment