// Check in index
IssueAuthorizationDoc issueAuthorizationDoc = index.getNullableByKey(project.uuid());
assertThat(issueAuthorizationDoc).isNotNull();
assertThat(issueAuthorizationDoc.project()).isEqualTo(project.uuid());
assertThat(issueAuthorizationDoc.users()).containsExactly(user2.getLogin());
assertThat(issueAuthorizationDoc.groups()).isEmpty();
}
@Test
public void remove_all_component_user_permissions() throws Exception {