Modules - Extras: Copying assigned roles from the main contract to a contract valid in the future

This feature was added in extras 3.3.0.
This feature is disabled by default. Enable to processor "copy-roles-from-current-contract-processor" to use it.

This feature allows you to automatically copy roles from the existing main contract to a contract valid in the future. This serves to handle the issue with cases when contract validity is not extended but rather a new contract is created altogether. This means that the user will not lose their roles after their currently main contract ends.

Only roles from the main valid contract are copied. They are only copied if the new contract is validity starting in the future. The roles are copied with validity starting at the time that the new contract starts and ending with the same end the original role had set (if any).

By default, the roles are only copied if the main contract and the future contract have the same position name and work position. This check can, however, be turned off, see below.

Configuration:

Turn off check that the main contract and the future contract have the same position name and work position:

  • idm.sec.extras.configuration.contract.copy.roles.skip.position.check = true
  • by doischert