All features (submitting expenses, commenting...) will be blocked for this user.
A warning will be displayed at the top of all pages for this user.
User is clearly spamming or trying malicious things on the platform.
The specified feature will be blocked for this user.
User has a strange behavior with a feature, or is abusing a specific one. We want to prevent the use of it without blocking access to the others. For example, users having bad language in a conversation - we want to prevent them from commenting, but it's ok to have them creating orders.
To see a list of all features names, check https://github.com/opencollective/opencollective-api/blob/master/server/constants/features.ts
Disable access to expenses:
User.data.features.EXPENSES = false
Disable access to conversations:
User.data.features.CONVERSATIONS = false
Please refer to this query to ban users and collectives from the platforms. You'll need to input a list of collective slugs to the query. When banning a user, all the related data (memberships, expenses, comments...etc) are (soft-) deleted. A special flag is set in
user.data.isBanned is set to
User's email will be locked in database, to that it will be impossible for the user to register with the same email address.