how to create storage RLS policies
I am trying to create a storage bucket - where I am allowing users to upload profile pictures. This is the RLS policy I am trying to implement, but its not working. Attached is my RLS policy and the storage bucket layout.
Here is the upload function (javascript) as well as the output
My goal is to only let users upload/edit/delete their own profile images. Any suggestions on what I am doing wrong? The error I keep getting is
Here is the upload function (javascript) as well as the output
My goal is to only let users upload/edit/delete their own profile images. Any suggestions on what I am doing wrong? The error I keep getting is

