To add permission to view individual reports to the users' permissions
It is recommended that you name permissions in the following way: <permission name="report.[category].[report_name]" />
The category should correspond with the directory where the report exists. By default, all reports are displayed in the Adaptive category and located in the adaptive directory.
<permission name="report.jobs.*" />
Similarly, to grant permission to access all reports, grant the role the following permission:
<permission name="report.*" />
The directory name must correspond with the category name. For example, you could create the jobs directory to place all the job-related reports, such as Jobs Submitted. This will be located in the Tomcat webapps/reporting/report directory.
<reports> <report> <display-name>Jobs Submitted</display-name> <report-design>jobs_submitted.rptdesign</report-design> <display-category>Jobs</display-category> <category>jobs</category> <description>Presents the Jobs submitted by credential (user, group, account and quality of service) for the supplied time in table format with name and total of jobs</description> <permission name="report.jobs.jobs_submitted" /> </report> </reports>
Viewpoint looks in the jobs directory to locate the report. A user with the report.job.jobs_submitted permission may view the report on the Reporting page and run it. The Reporting page will show that it is the jobs category.
Related topics