CreateGroup: add members to GroupInput

Currently in CreateGroup, we use either the ownerId owner group from
input, or the current calling user.

It would be useful to allow customized initial members, for situations
like create a group for a robot account.

Change-Id: I3685381fee6745e7ee3860f0c3757572bfec60aa
This commit is contained in:
Yuxuan 'fishy' Wang
2016-08-12 12:02:55 -07:00
parent 93a4c8e42d
commit 578eb5097b
4 changed files with 32 additions and 12 deletions

View File

@@ -14,9 +14,12 @@
package com.google.gerrit.extensions.api.groups;
import java.util.List;
public class GroupInput {
public String name;
public String description;
public Boolean visibleToAll;
public String ownerId;
public List<String> members;
}