Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

scripting securities in SSRS 2012 (preferably using SQL)

$
0
0

Hi

I have SSRS 2012 and have set it up so that each report requires only one stored procedure which has access granted via a AD group.  The SQL security is all automated so that running a SQL job casues AD groups to be created and populated, SPs to be certificated, SQL users to be created and so on.  Basically everything on the SQL server is happy.  Here's the question.  Since I have an AD group for each report and it contains all of the required users and groups then surely that is the way to apply security to the reports in SSRS no?  The problem is that this means that each report will have a unique AD group assigned as "browser" and whatever admin rights are required.  Any folder structure will be simply admin rights.  Now, when I deploy reports I have to delete the existing and move the new from a deployment/test folder.  This will lose the securities which is a pain. 

Is there any way that I can do the following (preferably using SQL rather than rs.exe)?

Detect any missing folders and recreate them (this is only a nice-to-have really).

Move any reports from the deployment area to the relevant folders in SSRS.  The name of the report and destination etc. is stored in SQL tables.

Reapply securities as also defined in tables.

Thanks in advance

Alex


Alex Stennett


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>