# Show a viewer no image that only a page in the trash shows · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/99174d7c9de906bef36270be66c8ae1c3ab37be0)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 99174d7c9de906bef36270be66c8ae1c3ab37be0

Requested commit: 99174d7c9de906bef36270be66c8ae1c3ab37be0

Commit: 99174d7c9de906bef36270be66c8ae1c3ab37be0

Tree: 65d9da42ba44f665414797e644ae2d544dffd880

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Show a viewer no image that only a page in the trash shows

Trashing a page hides it from viewers everywhere except the image
endpoints: images.getAssetUrl and images.listForStrategy counted a
reference on a trashed page like any other, so a viewer, including one who
joined after the delete, could still list and fetch those images.

For a reader below editor both now count only references on pages outside
the trash. Editors, who can restore the page, see its images as before, and
the reclaim and stale-upload checks keep counting trashed pages.

```

## Parents

- [31da70a9b2e26be12d793e8aba1d4a46c484870b](https://git.cafe/dara/icarus/commit/31da70a9b2e26be12d793e8aba1d4a46c484870b?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/99174d7c9de906bef36270be66c8ae1c3ab37be0?format=markdown)
