Implement /groups/?user=* in terms of /accounts/*/groups

Reuse the same view implementation to select groups of
the target user, but formated as a GroupMap.

Change-Id: I9ceba441f59119cf61becc36acbfa3166da85444
This commit is contained in:
Shawn Pearce
2013-01-17 12:14:13 -08:00
parent 776f343acc
commit b4c07e72f9
2 changed files with 45 additions and 27 deletions

View File

@@ -25,7 +25,7 @@ import com.google.inject.Inject;
import java.util.List;
class GetGroups implements RestReadView<AccountResource> {
public class GetGroups implements RestReadView<AccountResource> {
private final GroupControl.Factory groupControlFactory;
@Inject