Hi @lui ,
Could you tell me what is your data source?
I suggest you use sharepoint list.
In sharepoint list, you could use multiple person field.

Then you could set the edit form's DefaultMode:
If(User().Email in ThisItem.peoplefield.Email,FormMode.Edit,FormMode.View)
Only the current user is the people in this record, he could edit this record, or else he could only view this record.
Best regards,