Managing roles

To manage roles, you must be a member of the administrator role in order to access the JReport Administration page. Then, on the JReport Administration page, click Security on the system toolbar and select Role from the drop-down menu to display the Role panel, where you can manage the roles as required. See the panel.

The following topics describe how to manage a role.

Creating a new role

  1. In the Security > Realm panel, select a realm to which you want to create the role.
  2. In the Security > Role panel, click the Create a New Role link.
  3. In the New Role dialog, specify the settings for the role.
  4. Click OK, and the new role will then be added to the role list table.

Modifying a role

  1. In the Security > Realm panel, select the realm in which the role is.
  2. In the Security > Role panel, click the name of the role.
  3. In the Edit Role dialog, edit the role information as required.
  4. When done, click OK to accept the changes.

Editing members of a role

You can edit the members of a role, such as adding a new user or role, or removing a member from the role.

To edit the members in a role:

  1. In the Security > Realm panel, select the realm in which the role is.
  2. In the Security > Role panel, browse to the specific role, and then click the member(s) link.
  3. Edit the members of the role as follows:

Notes:

Deleting a role

If you find a role is no longer required, you can delete it by clicking the corresponding Delete link in the Control column of the role list table. However, the built-in roles, such as administrators and everyone, and roles that are not empty, cannot be deleted.