Skip to content
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

Root admins action to ban/unban accounts #4848

Open
Betree opened this issue Oct 20, 2021 · 1 comment
Open

Root admins action to ban/unban accounts #4848

Betree opened this issue Oct 20, 2021 · 1 comment
Labels
api Issues that require some work on the API (https://github.com/opencollective/opencollective-api) complexity → medium feature frontend

Comments

@Betree
Copy link
Member

Betree commented Oct 20, 2021

User story

We have 2 frequent requests on support:

  1. To ban accounts (usually spammers)
  2. To un-ban them (false positive that got banned then fail to login)

These requests currently have to be handled by engineers. I would like us to empower the rest of the support team for them to be able to handle these actions.

Best solution for this problem

On https://opencollective.com/opencollective/root-actions...

  1. Implement the ability to ban accounts. This should probably be grouped in a single interface with Root admin action to enable/disable features for an account #4627, Root admin action to delete accounts #4684, Reset 2FA from root admin dashboard #4714 and Root admin action to change the status of a tax form #4805.
    When banning an account, we should prompt a modal to list all the associated accounts that will be banned with it (and optionally checkboxes to pick which ones should be)
  2. Add a "banned accounts" section, listing banned accounts or allowing you to search for them. Add an action to un-ban them, un-banning associated accounts at the same time.

On top of that, we can also add a "Ban" button directly on the profile pages.

@Betree
Copy link
Member Author

Betree commented Apr 29, 2022

Some enhancements to make to the "Search & destroy" tool deployed in opencollective/opencollective-frontend#7741:

  • Add pagination
  • Make the collective name and avatar unclickable, have a dedicated button on the collective page to prevent misclicks (os open in a new tab?)
  • Show an editable list of selected accounts somewhere. If you trigger another search, it does not clear selected accounts
  • Show more info on the cards
    • Account creation date
    • Number of transactions (already in data)

@BenJam BenJam changed the title Root admins action to ban/unban accounts Ban/unban accounts Aug 25, 2022
@znarf znarf added this to the Support & Operations milestone Sep 15, 2022
@Betree Betree changed the title Ban/unban accounts Root admins action to ban/unban accounts Sep 15, 2022
@SudharakaP SudharakaP assigned SudharakaP and unassigned SudharakaP Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues that require some work on the API (https://github.com/opencollective/opencollective-api) complexity → medium feature frontend
Development

No branches or pull requests

3 participants