you can add column name resolution with all fields e.g.
phone_number and phone_number_permission, photo and photo_permission and use the value 0,1,2,3 in the permission column
permission rights 0. Not show to anyone 1. Show to friends 2. Show friends of friends 3. Show to groups and who are your friends
you need to manage this permission to view the data on the profile page.
if user == friend and permission == 1 show data
Adele mughal
source share