Table of Contents |
---|
...
If authorize_with
of merge request is not empty and contains auth method with type = THIRD_PERSON - validate that person from value is an approved confidant for a person from request – exists active and approved confidant person relationship between person from request and person_id from authentication method value (using following logic: /wiki/spaces/PCAB/pages/17417273433 Create confidant person relationship with person_id
= person from request and confidant_person_id
= value from auth method - expected :ok, :approved
response)
...
Parameter | Source | Description |
---|---|---|
id | uuid | Authogenerated, required. |
master_person_id | merge_requests.master_person_id | Identifier of the person in MPI.persons, required |
merge_person_id | merge_requests.merge_person_id | Identifier of the preperson in MPI.prepersons, required |
inserted_at | timestamp | Get current date-time |
updated_at | timestamp | Get current date-time |
inserted_by | uuid | Token.user_id |
updated_by | uuid | Token.user_id |
status | string | ‘MERGED’ |
merge_log | JSONB | null |
Update object in DB
il.merge_requeststable
...