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

<figure><img src="https://2731617315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdK3JKuIebMeMb9nnUas8%2Fuploads%2FExfSCn6h4vapa0BMURik%2Fimage.png?alt=media&#x26;token=0f85fba1-f935-4987-90f4-780ba9f53ae6" 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 %}
