Commit 861ccd07 authored by Melikhov Arsenii's avatar Melikhov Arsenii

Update adminTools.md;

Text reorganized
parent 197a297e
# Administrator tools
<a name="menu"></a>
[Creating reports](#reports)
[Creating entity diagramms](#diagrams)
[Audit](#audit)
<a name="endmenu"></a>
* [Creating reports](#reports)
* [Creating entity diagrams](#diagrams)
* [Audit](#audit)
<a name="endmenu"></a>
<a name = 'reports'></a>
## Creating reports
......@@ -136,41 +135,52 @@ Now, the report is ready. You can preview it in different formats by pressing on
Templates and their code are stored in `models/YOUR_MODEL_NAME/public/reports` directory.
<a name = 'diagrams'></a>
## Creating diagramm entity
## Creating entity diagrams
To display links between entities of the model we can use Diagram tools form the Administrator->UI->ER diagrams menu.
To use ER diagrams we must install the `@ub-e/ube-pub` package:
```shell
npm install --save @ub-e/ube-pub
```
***
**NOTE**
:exclamation: Don't forget to add the following line to `.npmrc`:
`
@ub-e:registry=https://registry.unitybase.info/
`
For a visual display of the links between entities of the model we use the Diagrams tool in the Administrator/UI/ER diagrams menu.
To use ER diagrams you must install the `@ub-e/ube-pub` package
`npm install --save @ub-e/ube-pub`
***
Configure UBE model in ubConfig.json
Also, we need to configure the UBE model in ubConfig.json:
```javascript
{
"name": "UBE",
"publicPath": "./node_modules/@ub-e/ube-pub",
"path": "_public_only_",
"moduleName": "@ub-e/ube-pub"
},
/// ...
"name": "UBE",
"publicPath": "./node_modules/@ub-e/ube-pub",
"path": "_public_only_",
"moduleName": "@ub-e/ube-pub"
}
```
Restart the UB Server after configuring.
***
**NOTE**
:exclamation: Add the UBE model configuration above your model configuration.
Construct a diagram using visual components.
***
After restarting the server you can construct a diagram using visual components:
![diagram_creating](img/adminTools/diagram_creating.png)
<a name = 'audit'></a>
## Audit
Audit of occurring processes in the system can be performed on the Security page:
![audit](img/adminTools/audit.png)
Audit of occurring processes in the system can be performed on the Security page.
On the Audit item, you can perform a customized action search, and on the Security audit page, all processes are listed as a list.
![audit](img/adminTools/audit.png)
Try to find all updates made by the admin user during this week in the request's model.
On the Audit item, you can perform a customized action search, and on the Security audit page, all processes are listed as a list.
Find all the updates made by the admin user during this week in the requests model.
[Next step](courses/tutorial-v5/cityPortalTutorials-v5/useMany.md)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment