Scenario 7 - bounswe/bounswe2025group1 GitHub Wiki

Scenario: Upgrading from Guest to Member and Managing Permissions


User Persona


Diane (28) is a curious newcomer from Portland who’s recently discovered the Community Garden Planner platform. She starts exploring as a Guest with read-only access. Intrigued by the forum and garden activity, she decides to register and upgrade to a Member to fully participate in planning, task tracking, and discussions.


Pre-Conditions

  • Diane visits the platform as an unregistered user (Guest).
  • The platform has role-based access control enabled.
  • Guest users can only view public forum posts and garden summaries.
  • Registration is open to the public.

Scenario Steps

  1. Exploring as a Guest

    • Diane browses the Community Garden Planner website.
    • As a Guest, she can:
      • View public forum posts
      • Read basic garden info and summaries
      • View task summaries (read-only)
    • She cannot create tasks, post in forums, or customize notifications.
  2. Upgrading to Member

    • Diane clicks the “Register” button.
    • She fills out the sign-up form with her name, email, username, and password.
    • The system creates her account and upgrades her role from Guest to Member (FR 7.1.5.6).
    • Diane receives a welcome message confirming her new Member status.
  3. Logging in as a Member

    • Diane logs in using her new credentials (FR 1.2).
    • The platform now shows:
      • Task creation options
      • Forum post & comment features
      • Profile customization
      • Notification preferences
  4. Using Member Privileges

    • Diane creates a new gardening task:

      Task: "Plant Seedlings"
      Assigned to: Herself (FR 2.1, 2.5, 7.1.4.5)

    • She posts her first forum question:

      “Any recommendations for organic fertilizers for tomatoes?” (FR 5.1, 5.2)

    • She enables email and in-app notifications for task deadlines and forum replies (FR 6.2).
  5. Admin Oversight

    • A System Admin views Diane’s profile in the user management dashboard (FR 7.1.2.5).
    • The Admin confirms:
      • Diane has correct Member permissions
      • She cannot perform moderator/admin actions
      • Her account is not flagged for abuse or elevated access (FR 7.1.2.3, 7.1.3.5)

Post-Conditions

  • Diane’s account is now upgraded and functioning with full Member privileges.
  • She is able to interact with the platform’s task management and forum systems.
  • Role-based access is correctly enforced throughout her transition.

Alternate Flows

  • If Diane provides invalid registration details, the system displays a form error and does not create the account.
  • If a Guest tries to create a task or post before registering, the platform redirects them to the registration page.
  • If Diane attempts to access restricted Moderator/Admin features, the system displays a permissions error.

Dependencies

  • User Management System (FR 1.1 – 1.3, FR 7.1.5, FR 7.1.4)
  • Role-Based Access Control (FR 7.1, FR 7.6)
  • Task Management System (FR 2.1 – 2.8)
  • Forum Module (FR 5.1 – 5.6)
  • Notification System (FR 6.1, FR 6.2)

Version Created By Create Date Reviewer Review Date
1.0 Simal Guven 05.03.2025 Ceylanberk Tola 06.03.2025
2.0 Ceylanberk Tola 27.03.2025 Burak Altunay 03.04.2025