enBloc-org / kindly

Open source repository for the development of Kindly
GNU General Public License v3.0
18 stars 21 forks source link

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

Closed ShaughnAnderson94 closed 4 months ago

ShaughnAnderson94 commented 6 months 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 6 months ago

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