User Security Matrix - Roles

Samir abdelmalek 21 Reputation points
2020-11-04T17:45:10.137+00:00

Hi All,

I have a cube that contains Dimension "Employee" that contains informations on the employees (first name, last name ...), other Dimension "Region" that contains the geographical informations (region=>country=>city=>site),other dimensions and a single fact table "Calls".

I have a role that enables the users to see all the data but the data of Dim "Employee"

37523-role-regional.png

and other role that enables the users to see the data of determined country (Moroccofor exemple)

37503-role-morocco.png

when i try to open the cube on excel with every role above, it works.

37515-role-all-but-employee.png
37516-role-morooco-samir-abdelmalek.png

but when i try to open it with both roles (i select them both), the excel doesn't open.

37533-both-roles.png

I want to know what's the problem exactly ? what happens to the users in the both roles : will they see any data or not at all ? and what should i do to resolve this problem ?

Thank you i advance

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,282 questions
0 comments No comments
{count} votes

Accepted answer
  1. Darren Gosbell 2,376 Reputation points
    2020-11-05T00:33:19.383+00:00

    So it looks like you've probably restricted access to the Employee table using OLS - it is a documented restriction of OLS that you cannot mix roles with OLS and RLS (see https://learn.microsoft.com/en-us/analysis-services/tabular-models/object-level-security?view=asallproducts-allversions#restrictions ) so you will need to combine your restrictions into a single role. So you may need to create additional roles to cover all the possible combinations of security restrictions.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Lukas Yu -MSFT 5,821 Reputation points
    2020-11-05T07:49:30.833+00:00

    Hi,

    As above post has pointed out, that currently the combination of RLS and OLS is not supported.

    You could upvote the request in SQL Server feedback at this post: Combination of OLS and RLS in SSAS Tabular


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Users always get connection timeout problem when using multi subnet AG via listener. Especially after failover to another subnet ----Hot issues October


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.