Add REST endpoint to add members to a group
With PUT on 'groups/*/members/<NEW-MEMBER>' it is now possible to add a
new member to a group.
In addition with PUT on 'groups/*/members' it is possible to add
multiple new members to a group at once.
The AccountGroupMembersScreen uses the new REST endpoint to add new
members. After a member was added the screen is reloaded. Other changes
should follow to update the displayed member list without reloading the
complete screen.
The Guice bindings needed to be modified to make AccountManager
injectable into PutMember. It was needed to bind an implementation of
SshKeyCache since AccountManager depends on ChangeUserName.Factory
which depends on SshKeyCache.
Change-Id: I8de09da94790a6ad55757a1051f9098f5e937312
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
14 files changed