HIGH story-settings-preferences-coordinator-004 2 pts
2
Story Points
High
Priority
Settings & Preferences
Feature

User Story

As a user
I want to sign out of my account from the Settings screen
So that So that I can securely end my session, especially when using a shared or public device

Acceptance Criteria

  • Given I tap the sign-out action in Settings, when the action is triggered, then a confirmation dialog appears asking me to confirm sign-out
  • Given I confirm sign-out, when the action completes, then my Supabase session is invalidated and I am navigated to the login screen
  • Given I confirm sign-out, when the action completes, then no sensitive user data remains accessible in the app without re-authentication
  • Given I cancel the sign-out confirmation dialog, when I dismiss it, then I remain signed in and return to the Settings screen
  • Given I sign out and then sign back in with BankID or biometrics, when authentication completes, then my previously saved preferences are restored from Supabase

Business Value

Secure sign-out is a fundamental security requirement, particularly relevant for coordinators and organization administrators who handle sensitive personal data and encrypted assignment information. Clear account management from the settings screen reduces support tickets about how to log out and ensures sessions are not abandoned with sensitive data accessible.