> For the complete documentation index, see [llms.txt](https://docs.notionapps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.notionapps.com/customize-app/customize-a-screen/screen-visibility.md).

# Screen Visibility

In some applications, you may want to show or hide screens based on who is logged in. This is where the *Screen Visibility Logic* comes in. Let's take the example of a Task management app. Suppose we want to show a screen to create a *New Task* only for managers but hide it for other employees.

{% hint style="info" %}
Before using the screen visibility, please ensure your app is private by selecting a users database. Learn how to do it [here](/users/private-apps.md).&#x20;
{% endhint %}

1. Go to the screen you want to hide. You will see a section named, *Screen Visibility Logic.* Click on the *+ Add Logic* button.
2. Further, select the *Role* column (this could be different for your app) from your Users' database.

<figure><img src="/files/e58qJuV8BuNek80kecGy" alt=""><figcaption></figcaption></figure>

3. Add a condition where the *Role* column's data is equal to *Manager*.

<figure><img src="/files/mfnmP5kqtzogO5g12it5" alt=""><figcaption></figcaption></figure>

With this, when a user logs in to the app only if their *Role* property has the value *Manager*, they can see the *New Task* screen.&#x20;

### View as a specific user

To test screen visibility in the app builder, you can click the "View as" button in the top bar and select a user.&#x20;

<figure><img src="/files/1cYCxWFfoxB8rTcNaywq" alt=""><figcaption></figcaption></figure>

*"Any user"* means no user has been selected.

<figure><img src="/files/FkKGvx5jO3LgKsUby6b1" alt=""><figcaption></figcaption></figure>

If a screen is hidden for the currently selected user, you will see a message on top of the screen.&#x20;

<figure><img src="/files/axIjiyBCflkRqTuJ8Gwb" alt=""><figcaption></figcaption></figure>
