# Role-based visibility for Bookmarks or Folder

**URL:** <https://community.directus.com/t/role-based-visibility-for-bookmarks-or-folder/1827>\
**Category:** Help\
**Tags:** permissions, authentication, collections, data-studio\
**Created:** [January 20, 2026, 11:44am UTC](https://community.directus.com/t/role-based-visibility-for-bookmarks-or-folder/1827 "2026-01-20T11:44:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alatna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/alatna/32/1365_2.png) [@alatna](https://community.directus.com/u/alatna)\
**Post date:** [January 20, 2026, 11:44am UTC](https://community.directus.com/t/role-based-visibility-for-bookmarks-or-folder/1827/1 "2026-01-20T11:44:48Z")

</div>

Hi community 👋

I’m trying to make **Bookmarks / Presets / Views visible only to a specific group of users** (based on role or policy), but I’m running into permission issues.

### What I want

I want users with **Role X** to see **only the bookmarks intended for Role X** , and not bookmarks created for other roles.

* * *

### Sample setup

- **Role** : `role_x`
- **Policy** : `policy_role_x`
- **Collection (Folder)**: `folder_role_x`
- **Users** : Assigned to `role_x`

* * *

### What I tried

#### 1️⃣ Using Bookmarks settings

I went to:

```auto
Settings → Bookmarks

```

and created a bookmark with:

```auto
collection = folder_role_x

```

However:

- When I log in as a user with `role_x`, **the folder `folder_role_x` does not appear at all**. But it works with admin account. So for me it was a lack of permissions ⬇ :

* * *

#### 2️⃣ Creating permissions via API

Since Data Studio doesn’t show folders inside policies/permissions, I tried creating permissions manually via the API:

```json
{
  "collection": "folder_role_x",
  "action": "read",
  "policy": "policy_role_x"
}

```

Result:

- The user now **sees the folder and its bookmarks**
- BUT when clicking a bookmark, I get this error:

```auto
You don't have permission to access collection "folder_role_x" or it does not exist. Queried in root.

```

I also have this error using admin account.

* * *

### Problem / Confusion

- Bookmarks are visible, but **cannot be accessed**

- It’s unclear whether:

* * *

### My questions

1. Is it **possible** to restrict folder to specific roles or policies?
2. Is using a **collection as a folder** the correct approach?
3. Are there **additional permissions required** for bookmarks to work when scoped by role?
4. Is there a **recommended pattern** for role-based bookmarks in Directus?

If this is not currently supported, it would be great to know the intended or future approach. I can create or use custom extensions if necessary.

Thanks in advance for any guidance 🙏

---

<div class="post-metadata">

**Author:** ![jonathanwagner](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/jonathanwagner/32/47_2.png) [@jonathanwagner](https://community.directus.com/u/jonathanwagner)\
**Post date:** [January 20, 2026, 4:58pm UTC](https://community.directus.com/t/role-based-visibility-for-bookmarks-or-folder/1827/2 "2026-01-20T16:58:48Z")

</div>

Collection folders are presentation construct only and do not support permissions currently. You will need to remove the policy permission you injected via the api to stop the errors you are seeing. If a user doesn’t have access to any of the collections within a folder the folder is excluded from the content sidebar.

Bookmarks assigned to a role should only be accessible by users in that role and the administrators.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![alatna](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/alatna/32/1365_2.png) [@alatna](https://community.directus.com/u/alatna)\
**Post date:** [January 21, 2026, 2:52pm UTC](https://community.directus.com/t/role-based-visibility-for-bookmarks-or-folder/1827/3 "2026-01-21T14:52:06Z")

</div>

Thank you very much for taking the time to respond.  
It’s also not possible to place a bookmark in a folder different from the collection it belongs to?  
At the moment, the bookmark only appears within its associated collection.

* * *

Example

Instead of this :

```auto
* Contact (collection)
----My contacts (bookmark)

```

This :

```auto
* Contact (collection)
* My custom folder (folder)
----My contacts (bookmark)

```
