Delete only your own images

Hi everyone,

How can I give every single user the opportunity to delete only their photo?
Currently every user has the ability to delete and modify other users’ photos, I wouldn’t want that to happen.
I attach image
Thank you

punt

Make sure you include a column that indicates which user email added the image, and then only allow delete when that user is the signed in user.

1 Like

Thanks, I did as you indicated, now when a user presses the add button, it publishes the photo and retrieves the email from the Users table.
Now should I use the visibility property?
thanks again

Go to the Actions section, and allow deletion. Then set a condition on the delete action: “email is signed in user”.

2 Likes

thanks for the help it works :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.