---
title: Hiding documents in the content tree based on permissions
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

If you enable the **Check document permissions** option in **Settings -> Content -> Content management**, each user will only be able to see the documents for which they have the **Read** permission assigned on any of the three levels. This applies in the **Pages** application\*\*,\*\* in document listings and in various dialogs where the content tree is displayed.

If a user has the **Read** permission for a child document but not for its parent, the child document is not displayed as well. In case that a user doesn't have the **Read** permissions for any document at all, a message is displayed instead of the content tree, saying that you have insufficient permissions to see the root document.

See [Settings - Content management](https://docs.kentico.com/k8/configuring-kentico/managing-sites/configuring-settings-for-sites/settings-content/settings-content-management.md).
