# `MishkaBlog.Resources.Preparations.SiteAskedOn`
[🔗](https://github.com/mishka-group/mishka_blog/blob/v0.0.1/lib/mishka_blog/resources/__preparations/site_asked_on.ex#L5)

Keeps a public list to the site it is asked on: only the rows whose `:through` record belongs to
the tenant.

- With no tenant, the list is empty.
- A site user (an actor with a `site_id`) gets an empty list on any tenant but its own site. A
  master, or a visitor with no actor, gets the list of the site it names.
- A call made with `authorize?: false` is not filtered.

    prepare {MishkaBlog.Resources.Preparations.SiteAskedOn, through: :team}

## Options

* `:through` - Required. The relationship to the record that carries the `site_id`.

# `supports`

# `temporal_safe?`

---

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