Details
Description
I don't think there's any reason the Domain Manager should create TLDs as "Restricted". To reproduce I did the following:
1. I added .gr to the Generic Domains module code, this step may not be necessary.
2. I "Imported" the domain using Generic Domains, which sets no pricing.
3. I Edit the TLD (Packages > Domain Options) and set a 2 year price.
4. Somewhere in there, the TLD was either created or updated to be a "Restricted" package, even though it is enabled.
My understanding is that TLD packages are supposed to be either Active or Inactive, not Restricted.
Just to note on this one. We use restricted when adding a domain as an admin, especially if something changes like the module. However, if the TLD is "Inactive", it will convert the TLD Package to "Restricted". The TLD was still listed under TLD Pricing as inactive, and when we switched it to "Active", it could not be ordered by normal clients because it was still restricted. This task makes it so that the TLD package gets switched from "Restricted" to "Active" when enabled under TLD Pricing. This way when it appears active, it is actually active and orderable by clients.