Skip to main content
The user management page is at /admin/users. It lists every account in the profiles table, ordered by creation date (newest first).

Searching users

Use the search bar at the top of the page to filter by:
  • Username
  • Email address
  • Phone number
  • User ID (UUID)
The filter is applied client-side as you type.

Profile fields admins can modify

Clicking the Edit button on any user row opens an inline editor with the following fields:
FieldDescription
usernameDisplay handle for the account
phoneContact phone number
level_idVIP tier assignment (1–8)
roleuser or admin
wallet_balanceSpendable balance in USD
freeze_balanceFrozen/held balance (shown as “Clearance”)
profitCumulative yield/profit earned
completed_countTotal tasks completed
current_setWhich task set the user is currently on
total_earnedAll-time earnings
withdrawal_passwordOptional secondary PIN for withdrawals
tasks_per_set_overrideOverride the level’s default tasks-per-set for this user
sets_per_day_overrideOverride the level’s daily set limit for this user
pending_bundleActive bundle assignment (see Bundles)
Changes are submitted to the /api/admin/update-user endpoint, which uses the Supabase service role to bypass RLS.

Common workflows

Reviewing identity verification documents

When a user submits identity verification, their profile stores the uploaded document URLs in verification_front_url and verification_back_url, and verification_status is set to pending. Open those URLs directly to inspect the documents. After reviewing, you can update the user’s verification_status to verified or rejected and use Notify Users to inform them of the outcome.

Adjusting a user’s wallet balance

1

Click Edit on the user row

The inline editor appears with the current wallet_balance value pre-filled.
2

Enter the new balance

Type the corrected amount. The field accepts decimals (e.g. 250.50).
3

Save changes

Click the green Save icon. A toast confirms the update with the new balance value.
Directly editing wallet_balance does not create a transaction record. If you need an auditable deposit, use the Deposits workflow instead.

Resetting a user’s task set

There are two reset actions available from the action buttons on each user row:
  • Full Reset (red refresh icon) — Returns the user to Set 1, resets completed_count to 0, resets profit to 0, and resets wallet_balance to the starting value (45). Use this to fully restart a user’s progress.
  • Advance Set (blue lightning icon) — Increments current_set by 1, immediately pushing the user into their next task cycle without them completing the current set.
Both actions require confirmation before executing.

Resetting a user’s password

Click the Lock icon on any user row. You will be prompted to enter a new temporary password. This calls /api/admin/reset-password, which updates the user’s Supabase Auth credentials.

Creating a new user

Click New Node in the top-right corner to open the user creation modal. Required fields:
FieldNotes
UsernameMust be unique
EmailUsed for Supabase Auth login
PasswordInitial login password
PhoneOptional
Roleuser or admin
The account is created via /api/admin/create-user, which provisions both the Auth user and the profiles row.

Deleting a user

Click the Trash icon on any user row. A confirmation dialog warns that this action is irreversible and will delete all account data and auth credentials. Deletion calls /api/admin/delete-user.
User deletion permanently removes the profiles row and the Supabase Auth credential. This cannot be undone.

Build docs developers (and LLMs) love