How do you synchronize global roles with group roles in the Drupal 8 group module?

How do you synchronize global roles with group roles in the Drupal 8 group module?

I expect the module to either:

  • Create a group role for each global role in each group type

and / or one of the following:

  • Create role assignments for users in the group who have a global role that corresponds to a group role name.
  • Assign global roles to users who have a group role in a group whose group role name matches a global role name.

In my previous tests, this seems to have nothing to do.

The group role submodule is deprecated, indicating that the functionality resides in the core group module. A code check shows that the sub-module is essentially empty. So I assume that the note is correct. I also see that the group module implements hook_rebuild and creates a configuration entity for each global role.

However, none of the results expected above is the case.