Commit graph

4 commits

Author SHA1 Message Date
oleghasjanov
3c169bb00b Make admin contacts optional for private registrants
This change makes admin contacts optional for private registrants while keeping them mandatory for organizations. The changes include:

- Updated Domain model validations to make admin and tech contacts optional (min=0) for private registrants
- Added validation rules methods to handle different requirements based on registrant type
- Modified EPP domain creation to support domains without admin contacts for private registrants
- Updated attach_default_contacts to skip adding contacts for private registrants
- Added comprehensive test coverage for:
  - Domain model validations with private/org registrants
  - EPP domain creation without admin contacts for private registrants
  - REPP API contact management for private registrants

This implements the requirement to make admin contacts optional for private registrations of .ee domains while maintaining the existing validation rules for organizations.
2025-01-07 12:24:57 +02:00
Thiago Youssef
2a58bf3849 Add rate limiting to all repp actions 2022-10-28 14:00:18 +03:00
olegphenomenon
58db467229 update validation of email when domain contacts are updated 2022-03-21 11:31:32 +02:00
Karl Erik Õunapuu
b3cf665ed5
REPP: Domain contacts test 2021-02-01 14:47:09 +02:00