# `PhoenixKitAI.GuardBlock`
[🔗](https://github.com/BeamLabEU/phoenix_kit_ai/blob/v0.26.1/lib/phoenix_kit_ai/guard_block.ex#L1)

A person blocked from a group of AI tasks until the block is lifted
(`phoenix_kit_ai_guard_blocks`, this module's migration chain), written by
`PhoenixKitAI.GuardBlocks`.

`block_group` is the group the block is on: a task's `block_group`, or its
key when it names none. `origin_task_key` and `origin_event_uuid` say where
the block was set from (a task's page, a flag). `private` is the strictest
of the group's tasks: the reason of a private block is shown only to the
holders of `ai.manage`. A block is active while `lifted_at` is nil; at most
one is active per group and person.

# `t`

```elixir
@type t() :: %PhoenixKitAI.GuardBlock{
  __meta__: term(),
  block_group: term(),
  blocked_at: term(),
  blocked_by_uuid: term(),
  lift_note: term(),
  lifted_at: term(),
  lifted_by_uuid: term(),
  origin_event_uuid: term(),
  origin_task_key: term(),
  private: term(),
  reason: term(),
  user_uuid: term(),
  uuid: term()
}
```

---

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