private final ResourceTypes resourceTypes;
public ComponentConfigurationPages(I18n i18n, ResourceTypes resourceTypes) {
this.i18n = i18n;
this.resourceTypes = resourceTypes;
}
<BUG>List<ConfigPage> getConfigPages(ComponentDto component, UserSession userSession) {
</BUG>
boolean isAdmin = userSession.hasProjectPermissionByUuid(UserRole.ADMIN, component.projectUuid());
boolean isProject = Qualifiers.PROJECT.equals(component.qualifier());
Locale locale = userSession.locale();

private final ResourceTypes resourceTypes;
public ComponentConfigurationPages(I18n i18n, ResourceTypes resourceTypes) {
this.i18n = i18n;
this.resourceTypes = resourceTypes;
}
Collection<ConfigPage> getConfigPages(ComponentDto component, UserSession userSession) {
boolean isAdmin = userSession.hasProjectPermissionByUuid(UserRole.ADMIN, component.projectUuid());
boolean isProject = Qualifiers.PROJECT.equals(component.qualifier());
Locale locale = userSession.locale();
