Skip to content

Add UI to trust or untrust a user from spam logs admin panel

Ethan Urie requested to merge eurie-add-ui-for-trusting-user-to-spam-logs into master

What does this MR do and why?

Follow up to !131102 (merged).

Will be followed by: !132402 (merged)

Adds the ability to trust or untrust a user from the Spam logs admin panel.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2023-08-29_at_4.41.23_PM Screenshot_2023-09-14_at_2.50.24_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Sign in to your GDK as an admin
  2. Navigate to /admin/spam_logs
  3. Verify that there is a Trust user button in each row
  4. Click the first user's Trust user button, confirm the dialog
  5. Verify that the button in that user's row now says Untrust user
  6. Click that button and confirm the dialog
  7. Verify that the button now reads Trust user again

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ethan Urie

Merge request reports

Loading