Limit addition of domains to selected users domain field from email provider domains list

Description

Implement a back-end check that limits domain addition based on the list found here:

https://gist.github.com/ammarshah/f5c2624d767f91a7cbdc4e54db8dd0bf .

Any domain found on this list should not be permitted for addition in the selected users domain field.


That should apply to Project Configuration and Share configuration.

Child issues

Issue Type Icon ESFJ-692 Clear database of common email hosting domains Priority: Medium
Released

Linked issues

relates to
Issue Type Icon ESFC-338 Limit addition of domains to selected users domain field from email provider domains list Priority: Medium
Backlog

Activity

Automation for Jira 24 January 2025, 10:52

Hello @Nikola Laskowska,

Please merge code to dev branch.
This is the best moment to add more information that can be helpful to prepare release notes.

  • Can you prepare short overview of change that can be used in release notes?

  • Please provide short GIF that showcase feature.

  • If GIF make no sense, can you provide image that highlights feature that can be used in release notes (cropped & annotated)?

Polina Naumenko 24 January 2025, 10:52

Task verified - QA env

Automation for Jira 22 January 2025, 07:54

Hello @Nikola Laskowska

This is the best moment to add more information that can be helpful for tester.

  • What areas are affected?

  • What are potential edge cases?

  • Was it checked for XSS problems?

  • Does change affect security, is new data exposed?

Please attach - Before / After screenshot if possible.

Automation for Jira 21 January 2025, 08:56

Hello @Nikola Laskowska,
Change was reviewed and approved.
Task is ready to be deployed to QA.
Once it is deployed to QA please move ticket to "To Test"

Thank you!

Nikola Laskowska 21 January 2025, 08:03

@Krzysztof Bogdan :check_mark:

Krzysztof Bogdan 20 January 2025, 09:20

@Nikola Laskowska 🏓

Nikola Laskowska 17 January 2025, 09:20

@Krzysztof Bogdan comments adressed

Krzysztof Bogdan 16 January 2025, 12:09

@Nikola Laskowska 🏓

Automation for Jira 10 January 2025, 11:10

Hello [~accountid:],
Task is ready for review.

@Nikola Laskowska please make sure reviewer
have easy access to contend to be reviewed.

If this is code change. Please make sure PR is created.
If this is new documentation, blogpost, etc. Please provide link to page.

Nikola Laskowska 9 January 2025, 14:34

current progress: endpoint updated to get only domains, not whole emails + communication between frontend and backend for getting validaton results done, left to do: visual validation handling, code cleanup

Nikola Laskowska 8 January 2025, 13:28

Current status: prepared new endpoint which validates if domain is on the provided list. API calls works properly for attached cases.

for case with empty array false is also sent

Kamil Zarychta 20 June 2023, 12:52

information about that we are not supporting most popular email domains should be added to tooltip → or any email address from domain

when one of email domain from list is added then we should display error (use angular input form error mechanism) that we do no support sharing with most popular email domains to avoid spamming users