Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Permissions dialog opens. It shows the permissions in effect for the selected object. By default, it first shows the permissions given to roles. Permissions that are inherited from the object’s parent are indicated by an asterisk (*).

Permissions Dialog Showing Permissions by Role

In the figure “Permissions Dialog Showing Permissions by Role”, you can see the default role-based permissions on the sample Input Data Types folder as seen by the organization admin. Members of certain roles can see and modify the input data types stored in this folder; these roles likely correspond to users such as data analysts. Regular users have execute only permission so they do not see this folder, but the reports they run can access its contents. Administrators cannot change the permission for their administrator role or user name, to prevent them from removing their ability to set permissions.

...

In the figure “Permissions Dialog Showing Permissions by User”, you can see the default user permissions on this folder. In the default installation, all permissions are defined by role; therefore, all user permissions are No Access inherited from the root. The figure shows a read-only permission being granted to the sample end user. This gives the user joeuser the ability to see but not modify the Input Data Types folder and its contents. For all other end users, however, the folder is still execute-only due to the settings in the figure “Permissions Dialog Showing Permissions by Role”.

Permissions Dialog Showing Permissions by User

6. Click Apply to save your changes. If you toggle between user and role permissions, you must click Apply first to save any changes you made.

7. Click OK to save your changes and close the permissions dialog when you are finished.

You can open several permissions dialogs for different resources or folders at the same time, as well as navigate the repository. This helps when trying to set permissions uniformly across several folders or organizations.

...

To test user permissions:

  1. Log in as an administrator.

  2. Select Manage > Users.

  3. Select the user’s organization, then browse or search for the user whose permissions you are testing.

  4. In the Users panel, select the user.

  5. In the Properties panel, click Login as User.

The selected user’s Home page appears. The login information in the upper-right corner shows that you are logged in as that user.

6. In the repository, browse or search for the folders and resources to test.

7. Verify that JasperReports Server displays the expected folders and resources. Make a note of any objects that should be displayed but are not, and any objects that should be hidden but are displayed.

8.When you have verified the user’s permissions, click Log Out

...

Your own Home page appears.

9. To change the user’s permissions, edit the permissions in the repository and modify the user or role definitions.

10.

...

Continue testing until the user’s permissions are satisfactory.

11.

...

Repeat these steps with several representative users to ensure that your access control is properly configured. An access control configuration that hasn’t been tested doesn’t secure your data adequately.