Merge branch 'stable-2.9' into stable-2.10
* stable-2.9: Fix SubmoduleOp tests Fix quoted-printable encoding of e-mail addresses Fix incorrect submodule subscriptions Remove 'send email' checkbox from reply box on change screen Update system group documentation Consider rule action while constructing local owners list Increase the size of HTTP passwords Do not throw away random bytes from the CSPRNG Conflicts: gerrit-server/src/main/java/com/google/gerrit/server/git/ReceiveCommits.java gerrit-server/src/main/java/com/google/gerrit/server/git/SubmoduleOp.java gerrit-server/src/test/java/com/google/gerrit/server/git/SubmoduleOpTest.java Change-Id: If086a9021aabb512023753d8dea59f50799cd91a
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
package com.google.gerrit.server.project;
|
||||
|
||||
import static com.google.gerrit.common.data.PermissionRule.Action.ALLOW;
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
|
||||
import com.google.common.base.Function;
|
||||
@@ -142,7 +143,7 @@ public class ProjectState {
|
||||
if (owner != null) {
|
||||
for (PermissionRule rule : owner.getRules()) {
|
||||
GroupReference ref = rule.getGroup();
|
||||
if (ref.getUUID() != null) {
|
||||
if (rule.getAction() == ALLOW && ref.getUUID() != null) {
|
||||
groups.add(ref.getUUID());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user