Support changing of group options via REST
The options of a group can now be set by PUT on '/groups/<group>/options'. The WebUI was adapted to use this new REST endpoint. There is a new JSON entity to describe the group options, which is also included in the GroupInfo, instead of having the options directly in the GroupInfo. Change-Id: I5ea30b6ca397a1a377a038bd551092eccabecd40 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
@@ -88,8 +88,8 @@ public class ListGroupsCommand extends BaseCommand {
|
||||
formatter.addColumn(Strings.nullToEmpty(info.description));
|
||||
formatter.addColumn(o != null ? o.getName() : "n/a");
|
||||
formatter.addColumn(o != null ? o.getGroupUUID().get() : "");
|
||||
formatter.addColumn(Boolean.toString(
|
||||
Objects.firstNonNull(info.visibleToAll, Boolean.FALSE)));
|
||||
formatter.addColumn(Boolean.toString(Objects.firstNonNull(
|
||||
info.options.isVisibleToAll, Boolean.FALSE)));
|
||||
}
|
||||
formatter.nextLine();
|
||||
}
|
||||
|
Reference in New Issue
Block a user