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

[USER MODERATION] - 2nd deliverable - user after actions #95

Closed
Tracked by #2290
alejandromumo opened this issue Jul 28, 2023 · 0 comments · Fixed by #97, inveniosoftware/invenio-rdm-records#1393 or inveniosoftware/invenio-communities#991
Assignees

Comments

@alejandromumo
Copy link
Member

alejandromumo commented Jul 28, 2023

When a user is moderated (e.g. blocked), some actions might need to be triggered. E.g:

  • User is blocked
  • User records and communities must be deleted

In this issue we should come up with a mechanism to register these "after actions" and execute them.

There are some concerns to be taken into consideration:

  • Actions can take some time to execute (e.g. deleting hundreds or thousands of records)
  • We must be aware of consistency. E.g. if the user status is "blocked" then we expect that everything was deleted. Intermediary states are not expected (e.g. user is blocked but records still exist in the system).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment