### Managing privileges

JReport Enterprise Server offers two 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 Enterprise 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 set related resources.

To manage privileges, 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. In the Realm tab select the realm in which the role/group/user is, then switch to the Privilege tab. You can then grant and remove role/group/user privileges in the tab. See the tab.

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

- For roles/groups/users that already have privileges
  Roles/groups/users that already have privileges are listed in the Role Privileges/Group Privileges/User Privileges table. To assign privileges to them, you just need to check the checkbox below the type of privilege you want to grant. Then click Save to apply the changes.
- For roles/groups/users that have had neither of the privileges
  1. In the Privilege tab, click the Add button. The Privilege dialog will then appear.
  2. To assign privileges to a role/group/user, select the Role Privileges/Group Privileges/User Privileges tab accordingly.
  3. Choose the specific role/group/user from the list by selecting the checkbox before its name.
  4. Check the checkbox below the type of privilege you want to grant.
  5. Click the OK button to apply the changes. The role/group/user that has been granted new privileges will be added into the Role Privileges/Group Privileges/User Privileges table.

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

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, uncheck the checkbox below the privilege, and then click Save to apply the changes.
- To remove all privileges from a role/group/user, first select the role/group/user, and then click the Remove button. By doing this, the role/group/user will be deleted from the Role Privileges/Group Privileges/User Privileges table.

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

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