Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:adm:roles_-_import_data_from_csv [2020/05/26 08:53]
sourek
tutorial:adm:roles_-_import_data_from_csv [2020/06/01 08:53]
kucerar new screen, new column in example
Line 6: Line 6:
  
 <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>
  
Line 58: Line 58:
 - System name - name of the system to connect with roles (if you do not want to connect your roles to any system, leave this line empty) - System name - name of the system to connect with roles (if you do not want to connect your roles to any system, leave this line empty)
 - MemberOf attribute name - name of multi valued attribute for merge; (if you do not want to do that, leave this line empty) - MemberOf attribute name - name of multi valued attribute for merge; (if you do not want to do that, leave this line empty)
 +- MemberOf attribute value name - name of column where is stored value which should be used in memberOf attribute (leave empty and role name will be filled in)
 - Role environment - the name of the environment to which you want to add the role; only supported during creating, not updating roles! - Role environment - the name of the environment to which you want to add the role; only supported during creating, not updating roles!
 - Can be requested - (Boolean) - Roles can be requested, can be also used to update already imported settings; it allows not selecting value when updating (not when creating!) roles which will not change the Can be requested property of roles. When creating roles, either Yes or No must be selected. - Can be requested - (Boolean) - Roles can be requested, can be also used to update already imported settings; it allows not selecting value when updating (not when creating!) roles which will not change the Can be requested property of roles. When creating roles, either Yes or No must be selected.
Line 63: Line 64:
 <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 criticalitydescription 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 ====
  • by apeterova