I. Overview
1)Version
Report Server Version | The JAR package | New features |
---|---|---|
10.0 | 2020-07-08 | You can modify fine_CONF_entity configuration to add the position dimension |
10.0.16 | - | The interface is optimized, and the user's final permissions and permissions are quickly configured |
10.0.18 | - | Function optimization, common permissions and authorization permissions decouple, do not affect each other |
2) Application scenarios
Retail, banking, and so on operate in many cities, with the same departments and positions under each city.
When the administrator assigns the right limit to the same position in different departments, it can only be configured one by one, and the workload is huge. Users want to batch assign permissions to jobs as dimensions.
3) Functions overview
JAR 2020-07-08 and later, by modifying fine_CONF_entity configuration, can be added to the position dimension, super administrator can assign permissions according to the position.
Note: The new "job" dimension is not visible to sub-administrators.
II. New job dimension
1. Adding table fields
The super administrator can use fine_conf_entity Visual configuration plug-in to set job dimensions. The Settings take effect after the server is restarted.
Note: For details about how to modify field values of FineDB database tables, see FINE_CONF_ENTITY Visual Configuration
Configuration items | Modify the rule |
---|---|
FSConfig.authorizeAttr.postAuthority | The value must be a boolean. The default value is false false: Disable permission assignment by position true: Enable permission assignment by position |
2. Effect viewing
1) Permission management
Enter the data decision-making system as the administrator, click "Manage>System >Permission", add "Position" Tab, as shown below:
2) Template authentication
After Role-based Authentication is enabled, you can select the template to be authenticated according to the position, as shown in the following figure:
3) Report permission
Super administrator access http://ip:port/engineering/decision/workflow/authority allocation Report Permissions, can be allocated according to position.
III. Example
This chapter briefly describes the steps for assigning authority to a job.
1) Assigning rights
Log in to the data decision system and click Manage>System>Permission>Quick configurationof authority.
Under the "User Group dimension", select "Position > Chief dispatcher" as the permission carrier and assign "Chief dispatcher" the permission to view the "Grid Monitoring" directory, as shown in the following figure:
2) Effect display
The chief dispatcher (Alice, 123456) logs on to the data decision system to view the "Grid Monitoring" directory and templates under the directory. As shown below:
IV. Precautions
1) Permission validity logic
A user may have multiple department positions or roles, and the parent and child hierarchies exist between departments. Therefore, you need to follow the permission logic during permission setting.
For details, see Peer Permission Execution Logic, Hierarchical Permission Execution Logic.
2) Duties in department tab and duties tab
After the super administrator assigns permissions to the positions under the "Position" Tab, the picture is as follows:
The job permissions under the "Department" Tab are not linked, as shown in the following figure:
However, under the "User" Tab, the user of this position has been assigned the permission, as shown in the picture below: