# This report has Row-Level Security (RLS) enabled, and the user is not associated.

<figure><img src="/files/wohbyvV0djPpYdMHPWLq" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
This report has Row-Level Security (RLS) enabled, and the current user '%User%' is not associated with any security rules.
{% endhint %}

This error is quite common and occurs when a report has Row-Level Security (RLS) enabled, but the user trying to access it is not associated with any RLS rules.<br>

{% hint style="warning" %}
Unlike Power BI Service, where admin users are not affected by RLS, in Power BI Embedded, ALL users are subject to RLS.

If an admin user is not assigned to any security rule, they will receive the error message mentioned above. If this user needs to view all data, create a security rule without any filters and assign the user to that rule.
{% endhint %}

### How to Manage RLS Rules:

There are three ways to assign a user to an RLS rule:

1. On the **Reports** screen, search for the report you want to manage RLS rules for, click the **Actions** button, and then select **Security**.
2. If the report has RLS but the **Security** button is not visible, go to the **Datasets** page and click **Refresh**.<br>
3. On the **Reports** page, search for the report you want to manage RLS rules for, click the **Actions** button, and then select **Edit**.\
   \
   You should see a yellow button called **Edit RLS**. If the report has RLS and this button is not visible, go to the **Datasets** page and click the **Refresh** button.<br>
4. On the **Datasets** page, search for the dataset you want to manage RLS rules for, click the **Actions** button, and then select **Security.**<br>

On the **Security** page, you can configure Row-Level Security (RLS) rules or Object/Table/Column-Level Security (OLS) rules.

{% hint style="warning" %}
To find out more about this configuration, see the article Security (RLS).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powerembedded.com.br/en/reports-portal/most-common-issues/report-has-rls-enabled-user-not-associated.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
