Hi @eka,
From your description, you could consider comparing the information of the user who executed Flow and the user of the input data.
Only the information of the user input that executes Flow is obtained, and then sent to the database.
Sorry, I don't know much about apps. It seems that you could carry user information when they enter data. You could get this information and compare it with the user who executed the Flow.
Please take a try.
Best Regards,
Barry