Merge "Fix group members of Project-Owners group to include inherited members"

This commit is contained in:
Edwin Kempin
2015-08-18 14:35:58 +00:00
committed by Gerrit Code Review

View File

@@ -87,9 +87,9 @@ public class GroupMembers {
return Collections.emptySet();
}
final Set<AccountGroup.UUID> ownerGroups =
final Iterable<AccountGroup.UUID> ownerGroups =
projectControl.controlFor(project, currentUser).getProjectState()
.getOwners();
.getAllOwners();
final HashSet<Account> projectOwners = new HashSet<>();
for (final AccountGroup.UUID ownerGroup : ownerGroups) {