mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 06:56:23 +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. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
interactions | ||
jobs | ||
lib | ||
mailers | ||
models | ||
presenters | ||
services | ||
validators | ||
views |