public void setConnectionGroupPermissions(Map<String, Set<ObjectPermission.Type>> connectionGroupPermissions) {
        this.connectionGroupPermissions = connectionGroupPermissions;
    }
Replaces the current map of connection group permissions with the given
map, which must map connection group ID to its corresponding set of
granted permissions. If a connection group has no permissions, its ID
must not be present as a key in the map.

@param connectionGroupPermissions
    The map which must replace the currently-stored map of permissions.
guacamole/src/main/java/org/apache/guacamole/rest/permission/APIPermissionSet.java