Scenario: Ban User - bounswe/bounswe2025group8 GitHub Wiki

🧩 Ban User

🎭 Actors

  • Community Administrator: Alice

    • Age: 35
    • Location: Boston, USA
    • Job: English Teacher
    • Situation: Alice has seen multiple reports that a member is spamming the feed with irrelevant posts.
    • Goal: Remove the spamming user’s access to keep the community safe and on‑topic.
  • Registered User: Bob

    • Age: 25
    • Location: San Francisco, USA
    • Job: Student
    • Situation: Bob posted several unsolicited advertisements in the assistance‑requests feed, and other members have flagged his posts.
    • Goal: Clarify the rules—he didn’t realize this was against policy and hopes to understand what happened.

Preconditions

  • Alice is logged in as a Community Administrator.
  • There are active reports against Bob’s account in the moderation dashboard.

🧭 Main Flow (Steps)

  1. Alice navigates to the Moderation Panel from her admin dashboard. (1.1.4.2)
  2. She clicks on “User Management” to view accounts with pending reports. (1.1.4.1)
  3. Alice finds Bob’s username in the list and selects “View Profile”.
  4. On Bob’s profile, she reviews the flagged posts and confirms they violate community guidelines.
  5. Alice clicks the “Ban User” button. (1.1.4.1)
  6. The system displays a confirmation dialog: “Are you sure you want to ban Bob?”
  7. Alice confirms the action.
  8. The system updates Bob’s account status to “Banned”, prevents him from logging in or posting further, and logs the action. (1.2.5.2)
  9. The system sends a notification to Bob explaining the ban and an appeal process, and displays a success message to Alice. (1.2.1.1)

🧾 Postconditions / Outcome

  • ✅ Bob’s account is suspended: he cannot log in or post.
  • ✅ Alice sees Bob’s status as “Banned” in the admin panel.