Allow extra group suggestions for project owners.
The suggestGroupOwner currently only returns groups that are visible to the user. When editing a project config, include the Project.NameKey so owners can be shown and add groups to which they are not a member. Change-Id: I1df4a025b6e11e92a44e77e2e96e16f4e187f1a1
This commit is contained in:
@@ -29,9 +29,16 @@ public interface SuggestService extends RemoteJsonService {
|
||||
void suggestAccount(String query, Boolean enabled, int limit,
|
||||
AsyncCallback<List<AccountInfo>> callback);
|
||||
|
||||
/**
|
||||
* @see #suggestAccountGroup(com.google.gerrit.reviewdb.client.Project.NameKey, String, int, AsyncCallback)
|
||||
*/
|
||||
@Deprecated
|
||||
void suggestAccountGroup(String query, int limit,
|
||||
AsyncCallback<List<GroupReference>> callback);
|
||||
|
||||
void suggestAccountGroupForProject(Project.NameKey project, String query,
|
||||
int limit, AsyncCallback<List<GroupReference>> callback);
|
||||
|
||||
/**
|
||||
* @see #suggestChangeReviewer(com.google.gerrit.reviewdb.client.Change.Id, String, int, AsyncCallback)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user