backbone-events 0.5.1

Events core + the sale/booth/crm/sms/desk overlay — registrations under one authoritative seat counter, the sale seam (order-minted registrations, forward-only paid heal, SO-cancel mirror cascade), booth bookings with the DB exclusivity wall, closed-vocabulary lead rules through a host sink port, the dual-channel (mail/sms) self-arming scheduler, and the exact-match desk verb (Odoo event port, core + overlay)
//! Domain policy for Registration 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::Registration;

/// Domain policy for Registration — 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<Registration>` on a custom
/// service. `PermitAllPolicy` is the safe default until then.
pub type RegistrationDomainPolicy = PermitAllPolicy<Registration>;

// <<< CUSTOM
// END CUSTOM