Rank 1: Thread
My app was rejected by apple because:
"The app supports account creation but does not include an option to initiate account deletion. Apps that support account creation must also offer account deletion to give users more control of the data they've shared while using an app."
So now I have to add that ability. I have done some quick searching and I may have found a solution:
- Create a function to delete all of the users data (documents)
- If data deletion success - proceed with account deletion
https://appwrite.io/docs/references/cloud/server-nodejs/users#delete
Now heres where I find the problem. I do NOT want to give "Any" permissions to delete documents on any of my Collections in my DB. Is there a way I can authenticate as a user from within my function so that All collections only need permissions for "Users" vs "Any"?
Thanks