diff --git a/APPL/API2/model_persons.inc b/APPL/API2/model_persons.inc index fa3e24f324..1b1a3011d0 100644 --- a/APPL/API2/model_persons.inc +++ b/APPL/API2/model_persons.inc @@ -74,14 +74,14 @@ function model_persons() }; this.includes = { - "custom_fields" : { - "model": new model_custom_fields(this, "PRS", { readman: true, readuse: true }), - "joinfield": "flexparentkey" - }, "authorization": { "model": new model_fac_gebruikersgroep(), "joinfield": "user" }, + "custom_fields" : { + "model": new model_custom_fields(this, "PRS", { readman: true, readuse: true, pNiveau: "P" }), + "joinfield": "flexparentkey" + }, "tracking": { "model": new model_tracking(["perslid"]), "joinfield": "fac_tracking_refkey"