Back to News
GeneralJanuary 26, 2026Taiwo Jazz

Test news one

This is brief summary

Test news one

 What was added:

  1. Database Schema Update

    - Added isTestAccount field to Member model

    - Boolean field, defaults to false

    - Indexed for performance

    - Migration created: 20260126043558_add_test_account_flag

  2. Public API Protection

    - /api/members now filters out test accounts automatically

    - Test accounts are invisible on public member listings

    - Test accounts are hidden from /members page on website

  3. Admin Panel Access

    - Test accounts remain visible in admin panel

    - SUPERADMINs can manage test accounts

    - Accounts exist in DB but hidden from public view

  How to Use Test Accounts:

  1. Create a test account (or mark existing):

    - In database, set isTestAccount = true for any member

    - Or add UI toggle in admin panel (can be added later)

  2. Benefits:

    - Use for demos and screen sharing

    - Hide your SUPERADMIN account from public view

    - Test features without polluting production data

    - Accounts work normally, just hidden from public