-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give user option of temporarily disabling account. #796
Comments
This is a good idea, I think we should still keep the option to permanently delete the account. We'll have to think through what temporarily disabling it means though. Would this prevent the user from having their content visible to allies? |
I was thinking of something along the lines of deactivating the account in facebook, it won't be visible to allies, in functionality it will be similar to delete permanently, the difference being data will not be lost and can be recovered. |
Wait, so those people on Facebook who I thought deleted their accounts were actually just deactivated? Ohhh... that makes me seem kind of a jerk for cleaning out my relationship with them. 😞 So would suspending the account mean you won't be able to lurk and view your allies' activity as well (since they cannot see yours)? And it probably means you should be able to read content you're the author of. |
Yeah so how Facebook works when you deactivate your account (I do this a lot lol), no one can see your profile or interact with it. You are re-activated the minute you sign back in. So in order to achieve something similar on our platform we would have some kind of "active" flag on a User account. If it's set to false then hide that user from any ally lists, ally search, the stories feed, and any strategies list they previously shared their content on. |
Hey @julianguyen, @baohouse, and @asquare14, is this feature vetted and ready to be implemented? If so, I'd be happy to work on it. :) |
Thanks for the invite, let me take a crack at this. |
Hey, @carlqt can you assign yourself to this issue? You should have received an invite to join the org in your email. Thank you! :) |
Hey guys, was wondering what are the restrictions of a disabled user. Aside from being hidden from searches and allies list. |
I think he or she cannot join groups ,stratergies and moments. |
Questions: For an easier approach, should we just restrict a disabled user to accessing group/moods/medications/allies etc…? The only page that is accessible would be the profile page wherein he can decide to reactivate his account? The flow I’m thinking is that we redirect the user back to his profile and display a flash message saying he’s unable to navigate to these pages unless he reactivates back his account. |
@carlqt Sorry for the late reply to this! I think we want to restrict access to all pages and create a new page that allows the user to re-enable their account! |
Hi! I would be really interested to work on this one. |
Hey @akp2603 looks like this issue is available! |
Looks like no one is on this one now! I'm sending a request to join soon and plan to assign myself to this issue once all that has been set up! First time contributing to open source :) |
@tlansey It would be great for you to work on this! Thank you :) |
It’s been a while since this issue has been touched, so I’d like to outline the feature to be sure I understand it correctly. A disabled account
This can be achieved by using an “active” flag on accounts set to true or false. Method for re-activating account:
|
Those specs are a good starting point! I think modal that pops up giving disabled users the option to reactivate their account after a signing in (with password and through Facebook/Google OAuth). There are some edge cases to consider and talk through more after addressing what you outlined:
If it helps, feel free to make issues for specific tasks to work on! Let me know how else I can help/unblock! |
@julianguyen How are comments and ally invites from banned and deleted users dealt with? That could influence how paused users are handled. Here are my ideas for the edge cases:
I noticed ifme is not using scopes, but one way to deal with this could be using one. Are you open to adding a scope to ifme for this issue? We could use a boolean scope of “paused” that is defaulted to false, and upon pausing the account, the field is changed to true. We could exclude banned and deleted users from the scope. Using I have to look into implementation further, but I wanted to know your thoughts first. I am happy to think further about implementations that avoid scopes. Let me know what you think. |
@kkreine That's a great idea to change the wording to "paused"! Thanks so much for bringing that up! We'll also want to make sure we use inclusive language for our other translations. For deleted users, they are deleted. For banned users, they are just hidden from the UI.
Yeah I'm open to using scopes if the pros outweigh the cons. What are some potential issues we would face? Thanks for taking the time to write this out! Fantastic questions and suggestions :) |
Hey @julianguyen @tlansey is this issue up for grabs? I'd like to work on it. I'm seeing there is already #1944 which looks like it got parked for a long while, I'd be happy to continue that work if that's ok |
Description
I think in "Customize your profile", the user should be given the option of temporarily disabling their accounts.
Permanently deleting will lead the user's all data to be lost while temporarily deleting will give the user a chance to rejoin the community again from where they left.
Please assign yourself (via the Assignees dropdown), if you do want to work on this issue. Can't find yourself? You need to join our organization.
Check out our Picking Up Issues guide if you haven't already!
The text was updated successfully, but these errors were encountered: