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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.