[SE-2869] Forbid registering Ocim custom domains that conflict with current or past clients' domains
requested to merge github/fork/fferrin/SE-2869-forbid-registering-ocim-custom-domains-that-conflict-with-current-or-past-clients-domains into master
Created by: fferrin
This PR prevents users from using invalid or conflicting domains
JIRA tickets: SE-2869
Testing instructions:
This PR already provides tests, but for manual testing you can try:
- Using
opencraft.hosting
as a domain - Using as domain a subdomain from an instance. For example, using
test.domain.com
whendomain.com
already exists - Using a domain such that, when creating
studio
,ecommerce
orstudio
subdomains, it overrides an existing domain. For example, try usingdomain.com
whenstudio.domain.com
was used as a domain.
Reviewers
-
@swalladge