Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
tutorial:adm:roles_-_import_data_from_csv [2020/05/28 10:58] kucerar |
tutorial:adm:roles_-_import_data_from_csv [2020/06/01 08:53] kucerar new screen, new column in example |
| |
<code> | <code> |
roles;description;attribute;guarantees;guarantee_type;guarantee_role;guarantee_role_type;criticality;catalogue;subroles | roles;description;attribute;guarantees;guarantee_type;guarantee_role;guarantee_role_type;criticality;catalogue;subroles;memberValue |
Manager-A;Leader;;;;;;;;role_code | Manager-A;Leader;;;;;;;;role_code; |
LAY-SP;Manager;attr1;user-login;type1;role_code;type2;3;cat4; | LAY-SP;Manager;attr1;user-login;type1;role_code;type2;3;cat4;;role.one.value |
"CORE-CLOSE | "CORE-CLOSE |
AB-role";desc;attr1;;;;;2;"cat1 | AB-role";desc;attr1;;;;;2;"cat1 |
cat3"; | cat3";; |
</code> | </code> |
| |
<note important>If you are updating the roles, make sure to set the same form definition the role already have (if they have any). Also, each role can only have one definition, so if you by mistake set a different definition in the LRT configuration, you will likely get an error. Generally, DO NOT use this LRT to change the definition of a role. You can only change the definition if the role has no attributes set yet.</note> | <note important>If you are updating the roles, make sure to set the same form definition the role already have (if they have any). Also, each role can only have one definition, so if you by mistake set a different definition in the LRT configuration, you will likely get an error. Generally, DO NOT use this LRT to change the definition of a role. You can only change the definition if the role has no attributes set yet.</note> |
| |
<note>This LRT can be used to update existing values but it **does not** remove old values. The only overwritten values during update are role criticality and description. They will be changed only if they are not empty in the CSV file</note> | <note>This LRT can be used to update existing values but it **does not** remove old values. The only overwritten values during update are role criticality, description and MemberOf attribute value. They will be changed only if they are not empty in the CSV file</note> |
| |
{{ :tutorial:adm:01_conflrt.png?direct&600 |}} | {{ :tutorial:adm:lrt.png?nolink |}} |
{{ :tutorial:adm:02_conflrt2.png?direct&600 |}} | |
{{ :tutorial:adm:03_conflrt3.png?direct&600 |}} | |
| |
==== Run the task ==== | ==== Run the task ==== |