https://www.drupal.org/project/group/issues/3455789 Flexible Permissions has become Access Policy API in core 10.3. Issue module Group