backbone-digest 0.4.0

KPI digests — the periodic KPI-email engine: a declarative name-keyed KPI registry other modules extend, per-recipient fenced rendering with declared (never row-count) KPI drops, the anti-spam slowdown ladder, a shared tips carousel, and a daily plain-pull cron whose due-date column is the queue (Odoo digest port)
//! Domain policy for DigestSubscription aggregate
//!
//! Generated by metaphor-schema. Do not edit manually.
//!
//! `DomainPolicy` enforces pure business invariants (state-based rules).
//! Identity-based rules live in `backbone_auth::ResourcePolicy`.

use backbone_core::PermitAllPolicy;
use crate::domain::entity::DigestSubscription;

/// Domain policy for DigestSubscription — permits all operations (no business invariants).
///
/// NOTE: `DomainPolicy` is advisory only — it is NOT invoked by the generic
/// CRUD pipeline. `GenericCrudService` enforces invariants via a different
/// trait, `ServiceLifecycle` (`before_create` / `before_update`). So implementing
/// a real `DomainPolicy` here is not yet wired to runtime. For actual per-write
/// enforcement, implement `backbone_core::ServiceLifecycle<DigestSubscription>` on a custom
/// service. `PermitAllPolicy` is the safe default until then.
pub type DigestSubscriptionDomainPolicy = PermitAllPolicy<DigestSubscription>;

// <<< CUSTOM
// END CUSTOM