### Managing privileges

JReport Server offers these types of privileges for users, groups, and roles: Publish and Advanced Properties. Users that are granted the Publish privilege will be able to publish resources to JReport Server, while users that have the privilege of Advanced Properties are allowed to view advanced information of version properties such as catalog connections and report related resources.

To manage privileges, you must be a member of the administrator role in order to access the JReport Administration page. Then,

1. On the JReport Administration page, click Security on the system toolbar and select Realm from the drop-down menu.
2. In the Realm panel, select the realm which contains the roles/groups/users you want to grant privilege for.
3. Click Security on the system toolbar and select Privilege from the drop-down menu to display the Privilege panel. See the panel.

   You can now grant and remove role/group/user privileges in the panel.

#### Granting role/group/user privileges in the Privilege panel

- For roles/groups/users that already have privileges
  Roles/groups/users that already have privileges are listed in the Selected table. To assign privileges to them, select a role/group/user in the table, then check the checkbox beside the type of privilege you want to grant. Then click OK to apply the changes.
- For roles/groups/users that have neither of the privileges
  1. In the Privilege panel, to assign privileges to a role/group/user, select the Role/Group/User radio button accordingly.
  2. Select the role/group/user in the Available table and click to add it to the Selected table.
  3. The newly added role/group/user is selected by default. Check the type of privilege you want to grant.
  4. Click the OK button to apply the changes.

#### Removing privileges from a role/group/user in the Privilege panel

To remove privileges from a role/group/user, you can choose either of the following two methods:

- To remove a privilege from a role/group/user, select the role/group/user in the Selected table, uncheck the checkbox beside the privilege, then click OK to apply the changes.
- To remove all privileges from a role/group/user, first select the role/group/user in the Selected table, then click . By doing this, the role/group/user will be deleted from the Selected table.

#### Granting and removing role/group/user privileges in the Role/Group/User panel

1. In the Security > Realm panel, select the realm in which the role/group/user is.
2. In the Security > Role/Group/User panel, click the underlined role/group/user name.
3. In the Edit Role/Edit Group/Edit User dialog, check or uncheck the target privileges.
4. Click the OK button to apply the changes.