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
devel:documentation:modules_extras [2019/08/08 08:03]
kucerar guarantees
devel:documentation:modules_extras [2019/11/06 11:14]
kopro [Get titles before and after]
Line 5: Line 5:
  
 ===== Developing and releasing ===== ===== Developing and releasing =====
 +<note important>Code contributions missing tests and/or documentation will be rejected. If such code is somehow present in the ''develop'' branch, the ''develop'' is considered unstable and no new releases of the module (and merges into ''master'') can be made.</note>
 +
   * When developing, use our standard gitflow:   * When developing, use our standard gitflow:
     * Branch per feature. Branch naming as usual.     * Branch per feature. Branch naming as usual.
Line 17: Line 19:
     - If the pull request is OK, repo admin merges it.     - If the pull request is OK, repo admin merges it.
     - Repo admin creates a new release in GitHub interface, version is set to ''X.Y.Z'' to correspond with version set in project sources.     - Repo admin creates a new release in GitHub interface, version is set to ''X.Y.Z'' to correspond with version set in project sources.
 +    - Repo admin pushes release into BCV Nexus.
     - After release, repo admin makes changes on the ''develop'' branch: upps module version to ''X(+1).Y(+1).Z(+1)-SNAPSHOT'' in the ''pom.xml'' and ''package.json''. What the next version of the module will be is up to discussion preceding the release.     - After release, repo admin makes changes on the ''develop'' branch: upps module version to ''X(+1).Y(+1).Z(+1)-SNAPSHOT'' in the ''pom.xml'' and ''package.json''. What the next version of the module will be is up to discussion preceding the release.
 +
 ===== Virtual system import LRT ===== ===== Virtual system import LRT =====
 Documentation is available here: [[tutorial:adm:systems_-_import_of_data_from_csv|]] Documentation is available here: [[tutorial:adm:systems_-_import_of_data_from_csv|]]
 +
 +===== Automatic role definitions - Import of data from CSV LRT =====
 +Documentation is available here: [[tutorial:adm:automatic_role_definitions_-_import_of_data_from_csv|]]
 +
 +===== Assign roles to contract EAV - Import of data from CSV LRT =====
 +Documentation is available here: [[tutorial:adm:assign_roles_to_contract_-_import_of_data_from_csv|]]
 +
 +===== Roles - Import of data from CSV LRT =====
 +Documentation is available here: [[tutorial:adm:roles_-_import_data_from_csv|]]
 +
 +===== Automatic roles - adding role by node in structure =====
 +Documentation is available here: [[tutorial:adm:automatic-roles-structure-and-attribute|]]
 +
 +===== Status task =====
 +Documentation is available here: [[tutorial:adm:status_task_how_to_set_up|]]
 +
 +===== SSO authenticate =====
 +Documentation is available here: [[documentation:security:sso_authentificate|]]
  
 ===== Guarantees of roles can assign their roles to everybody ===== ===== Guarantees of roles can assign their roles to everybody =====
Line 31: Line 53:
  
 Other thing you need to do is to enable service ExtrasIdmConceptRoleRequestService. This service is by default turned off in extras module. Other thing you need to do is to enable service ExtrasIdmConceptRoleRequestService. This service is by default turned off in extras module.
-Go to your project modul and create new service which will inherit from ExtrasIdmConceptRoleRequestService and add annotation Primary and Service+Go to your project modul and create new service which will inherit from ExtrasIdmConceptRoleRequestService and add annotation Primary and Service
 + 
 +Update IdmConceptRoleRequestDto is allowed everybody that will change only audited fields or systemState field (this is for update state of whole request after retry mechanism or approving virtual request). 
 + 
 +===== Report Compare values in IdM with values in system ===== 
 +Report will compare value of attributes with connected system. Connected system does not need to be in read only. 
 +More information is available here: [[tutorial:adm:report_compare_value_idm_to_system|]] 
 + 
 +===== Notification about the end of identity's last contract ===== 
 +A notification about the end of identity's last contract will be sent to those who have a specified role assigned and optionally the manager of the user. A different notification can be sent before the contract ends and when it ends.  
 +More information is available here: [[tutorial:adm:notification_-_identity_s_last_contract_is_ending|]] 
 + 
 +===== Get titles before and after ===== 
 +Almost every project receive all titles in one string and IdM allow separates titles before and after. For this case was created in *ExtrasUtils* two methods *getTitlesAfter* and *getTitlesBefore*. And transformation scripts *extrasGetTitlesBefore* and *extrasGetTitlesAfter*, transformation scripts calls method from utils. 
 + 
 +Dictionary with titles can be setup by configuration properties. Default values exists. 
 +<code> 
 +idm.sec.extras.configuration.titlesAfter="Ph.D.", "Th.D.", "CSc.", "DrSc.", "dr. h. c.","DiS.", "MBA" 
 +idm.sec.extras.configuration.titlesBefore="Bc.", "BcA.", "Ing.", "Ing. arch.", "MUDr.","MVDr.", "MgA.", "Mgr.", "JUDr.", "PhDr.", "RNDr.", "PharmDr.", "ThLic.", "ThDr.", "prof.", "doc.","PaedDr.", "Dr.", "PhMr." 
 +</code> 
 + 
 +===== Import automatic roles on tree nodes ===== 
 +You can use this tool to create automatic roles which are assigned based on the position within the organization structure using a CSV file as a source.  
 +More information is available here: [[tutorial:adm:import_automatic_roles_on_tree_nodes|]]   
  • by cabelkal