Feature: Synchronise the organisational unit and function type
Description
The synchronisation of
academic: and
academic: never set the organisational unit or the
function type of the imported contract. Projects that take both from their
directory or HR data needed a profile factory of their own.
The
contract
map of
frontend in
Configuration/ gains two relations,
organisational and
function:
columnnames thefe_column holding the value, andusers matchthe field of the record it is compared with: the unique name or the unit name of an organisational unit, the name of a function type.By create: truecreates a missing record on the pagestorage. Creation is off by default, and switching it on without a storage page is a mistake in the map.Pid - The value has to match exactly, on every database. Hidden records match, deleted records, drafts of a workspace and translations do not. Of several matching records the one with the lowest uid is assigned.
- An empty column clears a mapped relation, and so does a value that matches nothing while creation is off. A relation that is not mapped keeps what an editor chose.
The employee type is not synchronised. See Organisational unit and function type.
Impact
Nothing changes for an installation without a map of its own: the shipped map leaves both relations unmapped.
A site package that maps a relation owns it from then on: the next run of
academic: overwrites an organisational unit or function
type an editor chose on an imported contract, and clears it where the column is
empty.