Summary
Add a default_content_guard field to the Domain model, so that when a new distribution is created within that domain, the specified content guard is automatically assigned to it.
Requirements
default_content_guard on Domain — Add a default_content_guard foreign key field to the Domain model that references a content guard. This is an optional field (nullable).
- Auto-assignment on distribution creation — When a distribution is created within a domain that has a
default_content_guard set, automatically assign that content guard to the new distribution.
- Composite content guard for multiple guards — If users need multiple content guards applied by default, they should create a composite content guard and set it as the domain's
default_content_guard.
Acceptance Criteria
- The Domain model has a
default_content_guard field
- The
default_content_guard can be set, updated, and cleared on a domain
- Creating a distribution in a domain with a
default_content_guard automatically assigns it to the new distribution
- A composite content guard can be used as the
default_content_guard to apply multiple guards
Summary
Add a
default_content_guardfield to the Domain model, so that when a new distribution is created within that domain, the specified content guard is automatically assigned to it.Requirements
default_content_guardon Domain — Add adefault_content_guardforeign key field to the Domain model that references a content guard. This is an optional field (nullable).default_content_guardset, automatically assign that content guard to the new distribution.default_content_guard.Acceptance Criteria
default_content_guardfielddefault_content_guardcan be set, updated, and cleared on a domaindefault_content_guardautomatically assigns it to the new distributiondefault_content_guardto apply multiple guards