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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.