You can hide the contents of this folder from ROLE_USER by setting repository permissions to execute only. To do this:
| 1. | Log in as jasperadmin. |
| 2. | Select View > Repository from the menu. |
| 3. | Navigate to the Public/Samples folder. |
| 4. | Right-click on the Ad Hoc Views folder and select Permissions... |
| 5. | Change the permissions for ROLE_USER to Execute Only. |
|
Setting Permissions to Execute Only |
With these permissions, when users with no additional permissions select Library view, they do not see the Ad Hoc views in this folder, nor do they see the folder in the Repository. They are still able to open reports based on the views in this folder.
| When you restrict access based on file location in the repository, if a user saves an Ad Hoc view to a different location, users will still be able to access the view according to the permissions set on that location. You can also restrict access based on the Spring web flow. See Restricting Access by Role for more information. |
Recommended Comments
There are no comments to display.