---
title: "currentUser() Functionality in Dashboard Hub App"
canonical: "https://support.appfire.com/space/SUPPORT/1831635894/currentUser()%20Functionality%20in%20Dashboard%20Hub%20App"
format: markdown
---
This article provides options to ensure that dashboards display data specific to the logged-in user and explains how the `currentUser()` function works in Dashboard Hub.

## Instructions

To ensure that dashboards display data relevant to the logged-in user, follow these steps:

1. Navigate to **Apps** > **Dashboard Hub **> Select Dashboard > click **Filters**.
2. Click **Assignee** > Select **currentUser() **

![image](media://0e183cbf-0d0c-4085-ab32-b6bf1736909a)

3. If the “**This Jira Instance**“ datasource is used to configure the dashboard:
  1. Click the **Three Dots(…)** at the top right corner of the gadget > **Configure**.

![image](media://65c1d252-a8bb-4e3e-9b86-5c56ae33781f)

b. Enable the **restrictions** toggle

![image](media://4f1f99c7-b5cb-4b00-8207-e1ee79a48b87)


> 📝 **Functionality: **
> 📝 
> 📝 - The `currentUser()` function in JQL queries doesn’t apply to the data because the gadget retrieves information using its data source rather than the user's credentials viewing the dashboard. As a result, data can be displayed based on permissions from other users with access to the data source.

> ⚠️ **Limitations:**
> ⚠️ 
> ⚠️ - Custom Fields cannot be added to the **Dynamic Filter Bar **for now. Only predefined filters are available.
> ⚠️ - The Dynamic Filter only filters the data and does not restrict access.