message: Remove filter on list of charging profiles
diff: @@ -185,7 +185,7 @@ export default class ChargingStationSecurity {
  return null;
  }
  for (const chargingProfile of chargingProfiles.result) {
  - const filteredChargingProfile = this.filterChargingProfileResponse(chargingProfile, loggedUser, true);
  + const filteredChargingProfile = this.filterChargingProfileResponse(chargingProfile, loggedUser);
  if (filteredChargingProfile) {
  filteredChargingProfiles.push(filteredChargingProfile);
  }
  @@ -193,7 +193,7 @@ export default class ChargingStationSecurity {
  chargingProfiles.result = filteredChargingProfiles;
  }
  - static filterChargingProfileResponse(chargingProfile: ChargingProfile, loggedUser: UserToken, forList: boolean): ChargingProfile {
  + static filterChargingProfileResponse(chargingProfile: ChargingProfile, loggedUser: UserToken): ChargingProfile {
  const filteredChargingProfile = {} as ChargingProfile;
  if (!chargingProfile) {
  return null;
  @@ -218,7 +218,6 @@ export default class ChargingStationSecurity {
  filteredChargingProfile.profile.recurrencyKind = chargingProfile.profile.recurrencyKind;
  filteredChargingProfile.profile.validFrom = chargingProfile.profile.validFrom;
  filteredChargingProfile.profile.validTo = chargingProfile.profile.validTo;
  - if (!forList) {
  if (Utils.objectHasProperty(chargingProfile.profile, 'chargingSchedule')) {
  const chargingSchedule = {} as ChargingSchedule;
  filteredChargingProfile.profile.chargingSchedule = chargingSchedule;
  @@ -238,7 +237,6 @@ export default class ChargingStationSecurity {
  }
  }
  }
  - }
  return filteredChargingProfile;
  }
  