I have a table that relates to another and that relates to some user. How do I make it so that only the owner of this relationship can change / delete the item. Even if I just bring in the form the records that are related, if by chance I change the identifier that I am passing I can change then I would like to know if there is any way to perform this verification internally in some generic way because I have several cases like this .