mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 21:46:24 +02:00
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. |
||
---|---|---|
.. | ||
accounts | ||
api_users | ||
certificates | ||
contacts | ||
domains | ||
invoices | ||
registrar | ||
stats | ||
white_ips | ||
auctions_test.rb | ||
base_test.rb | ||
retained_domains_test.rb |