Role assignments in SSRS

对着背影说爱祢 提交于 2019-12-02 20:49:23

问题


I have created a SSRS report. In the report viewer I saw 2 security sections

  1. site settings
  2. folder settings.

What is the difference between these two?

I have to give access to 2 types of users

  1. Somebody having permission just only for viewing report.
  2. Somebody having permissions to view reports, upload report and also modify the datasource and parameter properties in the report.

What should be the security roles I should select for adding these users?


回答1:


First add the user :

Goto :
1) Sitesettings-->Security and click newrole assignment

2)Enter the Group or User Name and select role based on your requirement. Please see below screenshot.

Then click on OK button. Here you can see the list of Roles which are assigned to group or users.

3) Now click on the link of Home and then click on the link of Folder Settings.

4) You will see results like following.

5)Then click on New Role Assignment and you will see like below screenshot.

6) In that screen Enter group or user name and select roles and click ok for that users

NOTE:
1)Somebody having permission just only for viewing report.
To see only Reprot==>Select Browser role only
2)Somebody having permissions to view reports, upload report and also modify the datasource and parameter properties in the report.
Select "The Publisher Role" and The "My Reports Role" for them




回答2:


While the answer of Kavin may suits your needs note that it is not 100% matching your requirements: The Browser role does not have only the right to view reports and folders, it can also:

  • Manage individual subscriptions
  • View models
  • View resources

The My Reports role can do a lot of extra things you may not want to grant:

  • Create linked reports
  • View resources
  • Manage resources
  • Manage folders
  • Manage report history
  • Manage individual subscriptions

The Publisher role have far less rights than the My Reports one, and will add just the Manage models task.


I think the best option you have is to create custom roles.
To do so with SSRS 2008, you need to connect using SQL Server Management Studio, selecting the Reporting Services Server type.

You will be able to manage roles from there. Here is a MSDN article that will help you.

Back to your requirements, I think the custom roles you should create are (name them as you wish as long as you don't use an existing name):

Report Viewer:

  • View reports
  • View folders (if you want to provide a direct link to the reports and do not want people to be able to navigate to the hierarchy, do not add this task)

Report Manager:

  • View reports
  • View folders
  • Manage reports
  • View Data Sources
  • Manage Data Sources

Then go back to the site settings and they will available as any other system role.



来源:https://stackoverflow.com/questions/30251763/role-assignments-in-ssrs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!