Commit 7dd5dcb3 authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by Martin Lowe
Browse files

Change that will bypass committer check if not a PMI project

Currently this causes issues on internal checks, but could cause issues
rebasing in some scenarios in other environments.
Signed-off-by: Martin Lowe's avatarMartin Lowe <>
parent 8d4d256e
......@@ -187,7 +187,7 @@ public class ValidationResource {
validateAuthorAccess(response, c, eclipseAuthor, filteredProjects);
// only committers can push on behalf of other users
if (!eclipseAuthor.equals(eclipseCommitter)
if (response.isTrackedProject() && !eclipseAuthor.equals(eclipseCommitter)
&& !isCommitter(response, eclipseCommitter, c.getHash(), filteredProjects)) {
addMessage(response, "You are not a project committer.", c.getHash());
addMessage(response, "Only project committers can push on behalf of others.", c.getHash());
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