Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:roles_-_import_data_from_csv [2019/08/05 11:17] doischert |
tutorial:adm:roles_-_import_data_from_csv [2019/08/15 14:53] doischert |
||
---|---|---|---|
Line 3: | Line 3: | ||
==== 1. Prepare the CSV file ==== | ==== 1. Prepare the CSV file ==== | ||
- | Here is an example of a CSV file which can be used for importing (or updating) roles, setting their role attributes, guarantees (by user, or by role) and criticality, | + | Here is an example of a CSV file which can be used for importing (or updating) roles, setting their role attributes, guarantees (by user, or by role) and criticality, |
< | < | ||
Line 21: | Line 21: | ||
The result of this LRT used with this CSV file should: | The result of this LRT used with this CSV file should: | ||
- | * 4 new roles (Manager-A, LAY-SP, CORE-CLOSE, AB-role). | + | * 4 new roles < |
- | * Manager-A will have a description set (Leader) and a subrole set (role_code). | + | * < |
- | * | + | * < |
- | * LAY-SP will have a description (Manager), attribute (attr1), criticality (3), guarantee by identity (with user-name " | + | |
* Roles CORE-CLOSE and AB-role will have a description (desc), an attribute (attr1), and criticality (2) set. They will be in catalogues cat1 and cat3. | * Roles CORE-CLOSE and AB-role will have a description (desc), an attribute (attr1), and criticality (2) set. They will be in catalogues cat1 and cat3. | ||
Line 39: | Line 38: | ||
- Task type - **ImportRolesFromCSVExecutor** | - Task type - **ImportRolesFromCSVExecutor** | ||
- Import csv file - dropzone to select or drop csv file | - Import csv file - dropzone to select or drop csv file | ||
- | - Column with roles - Name of the column with roles in csv file | + | - Column with roles - name of the column with roles in csv file |
+ | - Column with role codes - name of the column with role codes in csv file; if left empty, the role code is based on the role name, only spaces " " are replaced by " | ||
- Column with description - name of the column with role description, | - Column with description - name of the column with role description, | ||
- Column with role attributes - name of the column with role attributes, can be also used to update attributes (if your CSV file doesn' | - Column with role attributes - name of the column with role attributes, can be also used to update attributes (if your CSV file doesn' |