# `MailglassAdmin.Operator.DestructiveAction`
[🔗](https://github.com/szTheory/mailglass/blob/v1.0.0/lib/mailglass_admin/operator/destructive_action.ex#L1)

Shared action-time authorization helper for destructive operator work.

Replay and any future manual repair action should resolve the exact
tenant-scoped target first, then authorize via the adopter-owned
`:destructive_action` seam immediately before execution.

# `authorize`

```elixir
@spec authorize(Phoenix.LiveView.Socket.t(), module() | nil, map(), map()) ::
  {:ok, Phoenix.LiveView.Socket.t()} | {:error, {:auth, String.t()}}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
