Commit graph

8 commits

Author SHA1 Message Date
oleghasjanov
7799727867 feat: add age validation for admin contacts
- Add AgeValidation module for consistent age checks
- Validate admin contacts must be at least 18 years old
- Move age validation logic from Domain to shared module
- Add tests for admin contact age validation
- Fix JSON format for admin_contacts_allowed_ident_type setting

This change ensures that administrative contacts must be adults (18+),
using the same age validation logic as for registrants. The validation
works with both birthday and Estonian ID formats. Settings are now
properly stored as JSON strings for consistent parsing.
2025-03-20 16:37:38 +02:00
Sergei Tsõganov
7c570e2916 Fixed codeclimate errors 2022-07-12 15:48:42 +03:00
Sergei Tsõganov
a5ffce290d Updated REPP API for new registrar portal 2022-07-12 15:47:25 +03:00
Alex Sherman
f6a2d91d61 Fix CC issues 2021-02-05 18:06:22 +05:00
Alex Sherman
da032dad79 Add BulkUpdatable concern, fix tests 2021-02-05 18:06:22 +05:00
Alex Sherman
3c0f7b3a86 Modify tests to make sure working pair of contacts is identical 2021-02-05 18:06:22 +05:00
Alex Sherman
f3f89bedd7 Add first version of admin bulk change 2021-02-05 18:06:22 +05:00
Priit Tark
5fd73b037a Address depricated, new contact requires, domain_contacts refactor 2015-03-31 15:22:25 +03:00