Articles in this section
Category / Section

How to implement user attribute-based data access restrictions in BoldBI dashboards?

Published:

Overview

Data filtering is a crucial aspect of dashboard management in BoldBI, ensuring that users only see data pertinent to their roles or departments. it’s essential to tailor the data each user sees based on their specific privileges. This can be achieved by using custom attributes in query filters to filter data according to the custom attribute. By following these steps, you can successfully configure user-specific data filtering in BoldBI dashboards, enhancing data security and relevance.

Step 1: Create Users and Custom Attributes

First, create users within the BoldBI environment. For example, let’s consider two users, test 1 and test 2.
sshot-1.png

For test 1, create custom attributes as follows:

  • monitoringCenter: Refrigerator
    sshot-2.png

For test 2, create custom attributes as follows:

  • monitoringCenter: OpenAI
    sshot-3.png

Step 2: Edit the Data Source

Navigate to the dashboard’s data source and enter the query designer page. Click on the query filter icon to open the filter configuration.

Picture4.png

Step 3: Configure Query Filters

Map the custom attribute to the column that needs to be filtered. For instance, map the monitoringCenter custom attribute to the monitoringCenter column in your dataset.

Picture5.png

Step 4: Preview User-Specific Filtering

In preview mode, switch between users to see the filtering in action:

  • When viewing as test 1, only data with monitoringCenter Refrigerator will be displayed.
    Picture6.png

  • When viewing as test 2, only data with monitoringCenter OpenAI will be displayed.
    Picture7.png

Ensure that a custom attribute is set for every user. If a user does not have a corresponding custom attribute, a data retrieval error will occur.

Additional References

For more detailed information and guidance, please refer to the following resources:

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
MM
Written by Mahendran Maragatha Patchai
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied