enBloc-org / kindly

GNU General Public License v3.0
12 stars 16 forks source link

Only allow users to have one profile picture stored in bucket. #200

Closed ShaughnAnderson94 closed 1 week ago

ShaughnAnderson94 commented 1 month ago

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Expected Behaviour

when a profile gets deleted the associated image with it should be removed from supabase storage

Current Behaviour

I checked deleting a profile and it did not delete it. We should look into what happens when you change profile images and when you delete items to see how wide spread this is


## Steps to Reproduce

1.Create profile and upload profile image

  1. go to supabase and get the image reference save it somewhere
  2. delete profile
  3. Search in the list of photos stored on super base and confirm it is still there
nichgalzin commented 1 month ago

This functionality will like need to be used in issue #193 as well