Setting up security for reports
Security set up for a report is significant as it helps apply the right control. As a developer, it is important to understand the right security approach during development. Through this recipe, we will learn how to properly set up security for reports.
How to do it…
Go to the Action menu item and add a new menu item.
In the properties of the menu item, set the properties as follows:
Property
Value
Name
PktItemTransList
Object Type
Class
Object
PktItemTransController
LinkedPermissionType
SSRSReport
LinkedPermissionObject
PktItemTransList
LinkedPermissionObjectChild
ItemTransList
ViewUserLicense
Functional
MaintainUserLicense
Functional
How it works...
The LinkedPermissionType
properties control the security of a report. They tell the security framework where the security for this menu item must be inferred from. The framework tries to retrieve the associated report from the object attached to the entry points, which is a menu item in this case...