Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
234 stars 36 forks source link

User self-delete from polished.tech dashboard #142

Closed nathhenry3 closed 2 years ago

nathhenry3 commented 3 years ago

Hello,

Is there a way for users to delete their own account? At the moment I can't find any way in the polished documentation, so have to do it manually, AND figure out a way for the user to alert me that they want their account deleted. Seems that this will be an issue for GDPR compliance etc - users should have the right to delete their own account details etc.

Thanks for the work you're doing - this package is great!

phoward38 commented 3 years ago

Hey @nathhenry3

Are you referring to deleting your own account, or removing one of your users from your account at their request? If you're asking about the latter, can you provide the use case you had in mind for this?

nathhenry3 commented 3 years ago

Hi Patrick,

At this stage I'm planning to use my app for research purposes. For this, I need to provide users with the option to delete their own account. At the moment, I have to wait for the user to manually alert me (via email, or via some alert button that I create in the app) that they want to delete the account, at which point I have to go into the system and manually delete the account for them (both to remove their data from the system AND to ensure that I don't get charged more for an unnecessary user on polished.tech).

Even if the app wasn't used for research purposes, it seems that this would be a useful feature to any polished users who want this process automated, rather than having to manually delete any users that are no longer using the app?

merlinoa commented 3 years ago

Yep 100% agree. I'm working on the API wrappers to enable this now. They will be ready within a week. I'll update this issue when they are live.

phoward38 commented 2 years ago

Hi @nathhenry3, the newest CRAN release includes API wrapper functions (Example: polished::delete_user) that resolve this issue. You can find more documentation about these functions here

nathhenry3 commented 2 years ago

That's great news, thank you very much!

On Thu, 23 Sep 2021, 2:39 AM Patrick Howard, @.***> wrote:

Hi @nathhenry3 https://github.com/nathhenry3, the newest CRAN release includes API wrapper functions (Example: polished::delete_user) that resolve this issue. You can find more documentation about these functions here https://polished.tech/docs/3-01-auth-api

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Tychobra/polished/issues/142#issuecomment-924995290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQ5TOL47PFFJEPQIZGMZEDUDHTCPANCNFSM45TSRBCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.