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

Add moderator notes for users #4296

Closed
aapeliv opened this issue May 7, 2024 · 0 comments · Fixed by #4326
Closed

Add moderator notes for users #4296

aapeliv opened this issue May 7, 2024 · 0 comments · Fixed by #4326
Assignees
Labels
backend This issue relates to the python backend feature Implementation of a feature priority: high High priority issue

Comments

@aapeliv
Copy link
Member

aapeliv commented May 7, 2024

The admins/moderators need to keep track of why people have been banned, or sometimes other private notes.

Proposed idea:

  • Add a text field to models.User, something like admin_note
  • Add admin_note field to org.couchers.admin.Admin.BanUser
  • Add an API call org.couchers.admin.Admin.AddAdminNote
  • Return the admin note in org.couchers.admin.Admin.UserDetails

On adding a note, it should include a timestamp and the admin's id+username, and append to the note. Alternatively add a new table of AdminNotes or something and store it there instead of hacking around with concatenated strings. (Though I think concatenating strings is quite enough.)

@aapeliv aapeliv added feature Implementation of a feature backend This issue relates to the python backend priority: high High priority issue labels May 7, 2024
@schradert schradert linked a pull request May 19, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This issue relates to the python backend feature Implementation of a feature priority: high High priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants