Managing privileges
JReport Server offers these types of privileges for users, groups, and roles: Publish, Advanced Properties, and Message Table Manipulation. 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,
- On the JReport Administration page, click Security on the system toolbar and select Realm from the drop-down menu.
- Select the realm in which the role/group/user is. Then click Security on the system toolbar and select Privilege from the drop-down menu.
You can then grant and remove role/group/user privileges in the panel. See 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 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
- In the Privilege panel, click the Add button. The Privilege dialog will then appear.
- To assign privileges to a role/group/user, select the Role Privileges/Group Privileges/User Privileges tab accordingly.
- Choose the specific role/group/user from the list by selecting the checkbox before its name.
- Check the checkbox below the type of privilege you want to grant.
- 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 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, 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 panel
- In the Security > Realm panel, select the realm in which the role/group/user is.
- In the Security > Role/Group/User panel, click the underlined role/group/user name.
- In the Edit Role/Edit Group/Edit User dialog, check or uncheck the target privileges.
- Click the OK button to apply the changes.