Skip to content

Custom Field - VisibleBy

Cherese Eriepa requested to merge custom-field-visible-by-1 into master

Includes:

  • Backend changes to tribal applications. When an applicant applies to join a tribe with custom fields, depending on the visibleBy on that fields definition, it will save to the appropriate profile
    • all custom fields (member + admin) are saved to the admin profile when the applicant creates the application
    • only visibleBy member fields will be saved to the group profile when the kaitiaki accepts the application
  • change the personIndex to show adminProfile.customFields (as this will include all customFields)
  • change whakapapaShow to show adminProfile.customFields to kaitiaki and groupProfile.customFields to other members

Smoke tests/checks:

  • The correct data is being displayed to each different type of user (kaitiaki, author, member)

NOTE:

  • this PR does not include checks around updating custom fields on profiles and that they are being saved to the correct profile
Edited by Cherese Eriepa

Merge request reports