🔐 AIMHSA Dashboard - User Role Testing

This page allows you to test the admin dashboard with different user roles and see how the interface changes based on the logged-in user.

📋 Current Session Status

Current User: Not logged in

Current Role: None

Session Data: No session found

🎭 Test Different User Roles

Click the buttons below to simulate different user logins and see how the dashboard adapts:

👑 Admin User

Full system access

👨‍⚕️ Professional User

Mental health professional

👤 Regular User

Standard user account

🔧 Dashboard Actions

📊 Expected Behavior by Role

👑 Admin Role

  • Full dashboard access
  • All navigation sections visible
  • System-wide KPI data
  • Professional management
  • User management

👨‍⚕️ Professional Role

  • Limited navigation (no admin sections)
  • Professional-specific KPIs
  • My Sessions data
  • Patient management
  • Risk monitoring

👤 User Role

  • Minimal navigation
  • Personal KPI data
  • My Bookings
  • Risk assessment history
  • Session history

🔍 Debug Information