Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

{
  "fields": [
    "firstName",
    "lastName",
    ...
  ],
  "publicFields": [
    "firstName",
    "lastName",
    "profileSummary"
  ],
  "privateFields": [
    "email",
    "phone"
  ],
  "readOnly" : [
    "phone", ...
  ],
  "csv": {
    "supportedColumns": {
      "NAME": "firstName",
      ...
    },
    "outputColumns": {
      "userId": "USER ID",
      ...
    },
    "outputColumnsOrder": [
      "userId",
      ...
    ],
    "mandatoryColumns": [
      "firstName",
      ...
    ]
  },
  "framework": {
    "fields": [
      "board",
      "id",
      ...
    ],
    "mandatoryFields": [
      "board",
      "id",
      ...
    ]
  }
}


Solution

While doing update, we will refer the read-only fields, and check the user-update operation.

Portal can use the same data to mark fields read-only on UI, by fetching data from system-settings.