sut.execute(session, reports.get(0), project);
IssueAuthorizationDoc issueAuthorizationIndex = tester.get(IssueAuthorizationIndex.class).getNullableByKey(project.uuid());
assertThat(issueAuthorizationIndex).isNotNull();
assertThat(issueAuthorizationIndex.groups()).containsExactly(DefaultGroups.ANYONE);
}
private ComponentDto insertProjectWithPermissions(String projectKey) {
ComponentDto project = ComponentTesting.newProjectDto().setKey(projectKey);
db.componentDao().insert(session, project);