How can we filter out data to ensure users don’t access other users' information In Embedded Bold BI?
Filtering Data for User-Specific Access in Embedded Bold BI
Bold BI provides mechanisms for achieving row-level security, which allows for the restriction of data visibility based on user permissions. The user filter feature enables row-level security for the data used in dashboards, ensuring that each user only sees the data they are authorized to access.
In the Bold BI Embedding SDK, you can apply row-level filters using the embed_datasource_filter
option in the authorization endpoint. This allows for precise control over the data that is displayed to each user.
For more detailed guidance, you can refer to the following resources:
Additionally, a demo site is available to showcase the use of custom attributes for data filtering based on the logged-in user. You can access the demo at Custom Attribute Demo. On the login page, you will find a list of user credentials. By logging in with any of these credentials, the dashboard will dynamically render based on the value of the custom attribute and the user’s permissions defined in the DataSource.