-
Notifications
You must be signed in to change notification settings - Fork 136
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 #2290
Comments
1st DeliverableFrom discussions, the following was agreed:
We agreed on splitting these requirements into multiple deliverables:
|
After IRL meeting, the following was discussed:
For the usage of role id instead of role name:
|
2nd DeliverableRegarding moderation actions (e.g. what happens after a user is blocked), we discussed:
Following these points, the strategy for now is the following:
|
We agreed to ship in the second deliverable the following features:
The implementation of the actions will come in the next deliverable |
3rd DeliverableWe agreed on having a third deliverable focusing mostly on re-indexing user records after moderation. It includes:
|
|
4th DeliverableWe agreed on having a fourth deliverable focusing on protecting the user from concurrent moderation actions. E.g:
The agreed solution was the following:
Some details on the implementation were also discussed and agreed:
Refreshing the lock means that the celery task will have access to the lock unconditionally. Therefore, two tasks could actually dispute the lock. We believe that this can be mitigated if the lock timeout on the service call is sufficient to avoid a new moderation call from being accepted at the service layer |
5th DeliverableWe agreed on having a fifth deliverable focusing on the creation of moderation requests when the user publishes a record. The agreed solution was the following:
We also agreed on adding the user management REST endpoints in this deliverable since the overhead of adding it was small for now. We briefly discussed feature flags, namely:
|
This issue was automatically marked as stale. |
This a task to design user moderation in InvenioRDM. That will include capabilities, to mark a user as spam, inactivate a user, delete all user's content, safelist a user. We will need to implement both backend and frontend for this feature.
Resources
See mockups here under the "Users dashboard (List records)"
See RFC here
Instructions on how to test the moderation until we have an UI: CodiMD
Actions
Issues
Tasks
The text was updated successfully, but these errors were encountered: