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)
- Alice navigates to the Moderation Panel from her admin dashboard. (1.1.4.2)
- She clicks on “User Management” to view accounts with pending reports. (1.1.4.1)
- Alice finds Bob’s username in the list and selects “View Profile”.
- On Bob’s profile, she reviews the flagged posts and confirms they violate community guidelines.
- Alice clicks the “Ban User” button. (1.1.4.1)
- The system displays a confirmation dialog: “Are you sure you want to ban Bob?”
- Alice confirms the action.
- 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)
- 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.