Merge "Fix group members of Project-Owners group to include inherited members"
This commit is contained in:
@@ -87,9 +87,9 @@ public class GroupMembers {
|
|||||||
return Collections.emptySet();
|
return Collections.emptySet();
|
||||||
}
|
}
|
||||||
|
|
||||||
final Set<AccountGroup.UUID> ownerGroups =
|
final Iterable<AccountGroup.UUID> ownerGroups =
|
||||||
projectControl.controlFor(project, currentUser).getProjectState()
|
projectControl.controlFor(project, currentUser).getProjectState()
|
||||||
.getOwners();
|
.getAllOwners();
|
||||||
|
|
||||||
final HashSet<Account> projectOwners = new HashSet<>();
|
final HashSet<Account> projectOwners = new HashSet<>();
|
||||||
for (final AccountGroup.UUID ownerGroup : ownerGroups) {
|
for (final AccountGroup.UUID ownerGroup : ownerGroups) {
|
||||||
|
|||||||
Reference in New Issue
Block a user