Update AVS User Update Prozedur

Steffen Jost 2024-09-05 15:51:49 +00:00
parent 8a0cf7e338
commit 42ef3713c2

@ -97,11 +97,12 @@ flowchart TD;
- Superiors become irregular supervisors without rerouting, existing supervisions are not changed
- Superiors become company users at equal-to-max priority, if not already
* For each AVN User update:
- all company associates are irregularly supervised by the new superior with remark "Vorgesetzer"
- _all company associates_ are irregularly supervised by the new superior with remark "Vorgesetzer"
- if superior changed for an unchanged company:
all company supervisions with remark "Vorgesetzter" are removed before executing the previous step, also
create admin problem that notifies about superior change
(special if new superior could not be created)
- if company changed: delete ordinary superiror-only supervision for given user only
- from 2025 onwards (when DB is sufficently up-to-date): skip both steps if company and supervisor are unchanged from previous AVS query
* Possible problem / Questions:
- company had superior, but no longer: ok to just remove superior-supervisions and report admin problem?