Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Siddy
New Member

Change User Access Role when implenting Custom Security Sample Code

This is about the code at , https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample

 

We are working on this RS code and are currently facing some issues with the code, related to Roles being assigned. When any user in the list is given a new Role, from the Manage -> Security link, and click Apply, the role is assigned, but that same user is still having only read access. So when on the dashboard the user clicks the ellipse button (…), it gives an error dialog, as user is not having full or admin level access, but only Read. Currently only the "Browser" role works for all users, but if I check say "Content Manager" role for user as well, it reflects in the UI role list, but it breaks if user tries to access any report from the dashboard, as it is still having read only access. Also there is no exception thrown in the code as well, which will help us debug further.

 

Can you please provide some pointers or guidance on the same for me to work on.

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors