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

Change-Id: I61d5d4525485c97496bfd85634ce96ff2775cd81
This commit is contained in:
Adrian Görler
2014-09-19 17:14:12 +02:00
parent f06e9e20d9
commit 444139297f

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) {