# Do not display "Private Folder"

**URL:** https://community.xibo.org.uk/t/do-not-display-private-folder/35498
**Category:** Feature Requests
**Created:** [June 4, 2025, 7:06am UTC](https://community.xibo.org.uk/t/do-not-display-private-folder/35498 "2025-06-04T07:06:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MrStefan](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/mrstefan/32/17330_2.png) [@MrStefan](https://community.xibo.org.uk/u/MrStefan)
#### Post date: [June 4, 2025, 7:06am UTC](https://community.xibo.org.uk/t/do-not-display-private-folder/35498/1 "2025-06-04T07:06:30Z")

</div>

# Introduction

In the layout editor, for each folder users don’t have access to “Private Folder” will be displayed, making accessible folders harder to identify.

# User Story

In our environment we have multiple users that can create and modify lay-outs. For each user, they have their own folder which only they and the administrators have access to.

When a user is editing a layout, filtering on which folder the media is located in, the dropdown returns “Private Folder” for each folder that the user does not have access to.

For the user, this makes it harder to find the folders they do have access to, and their wish is to not see the “Private Folder” at all.

# Implementation

I have created a pull request on Github that solves this problem.

> <https://github.com/xibosignage/xibo-cms/pull/3014>
>
> In the layout editor, for each folder users don't have access to "Private Folder…" will be displayed, making accessible folders harder to identify.

xibo-cms/lib/Controller/Folder.php at line 202:

* * *

Before:

```php
if (!$this->getUser()->checkViewable($child)) {
	$child->text = __('Private Folder');
	$child->type = 'disabled';
}

```

* * *

After:

```php
if (!$this->getUser()->checkViewable($child)) {
	continue;
}

```

* * *

## Impacted Software

Only Xibo CMS in the following places:

- Layout editor when filtering by folder.
- Folder tree in Media, Layouts, Campaigns, etc.

---

<div class="post-metadata">

### Author: ![CraftedInSteel](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/craftedinsteel/32/17613_2.png) [@CraftedInSteel](https://community.xibo.org.uk/u/CraftedInSteel)
#### Post date: [February 17, 2026, 4:57pm UTC](https://community.xibo.org.uk/t/do-not-display-private-folder/35498/2 "2026-02-17T16:57:39Z")

</div>

I have received feedback from my users that they do not want to see the useless “private folder” entries either.

@MrStefan Your PR was closed because the associated repo was deleted.

---

<div class="post-metadata">

### Author: ![dan](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dan/32/9115_2.png) [@dan](https://community.xibo.org.uk/u/dan)
#### Post date: [February 17, 2026, 5:45pm UTC](https://community.xibo.org.uk/t/do-not-display-private-folder/35498/3 "2026-02-17T17:45:07Z")

</div>

We plan on looking at folders and how they work just after the initial v5 release. We do have to consider existing users who need/want the private folder to appear in the hierarchy, so it will likely be some sort of configuration option.

---

<div class="post-metadata">

### Author: ![MrStefan](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/mrstefan/32/17330_2.png) [@MrStefan](https://community.xibo.org.uk/u/MrStefan)
#### Post date: [August 4, 2026, 10:50am UTC](https://community.xibo.org.uk/t/do-not-display-private-folder/35498/4 "2026-08-04T10:50:52Z")

</div>

This solution is no longer needed since version 4.5.0 where the CMS appearence has been improved
