The Users page gives administrators a centralized view of every registered account on the Panahashi platform. From here you can browse the full user list, search for specific accounts, and control what level of access each user has by assigning them a role. Changes take effect immediately via the API with no page reload required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AndrewwCO/Admin-Pana/llms.txt
Use this file to discover all available pages before exploring further.
User list and search
When you open the Users page, the admin panel fetches all registered users fromGET /api/v1/users and displays them in a table. Each row shows the user’s display name, email address, UID, and their current role as a color-coded badge.
To narrow down the list, type into the search field at the top of the page. Filtering happens client-side across three fields simultaneously:
- Display name — matches any part of the user’s display name
- Email — matches any part of the email address
- UID — matches any part of the Firebase UID
Reload button
The reload button re-fetches the user list fromGET /api/v1/users and refreshes the table. Use it if you expect a new user to have registered since the page loaded, or after making changes in another browser session.
Role system
Every user has exactly one role that controls what they can access across the platform.| Role | Badge color | Description |
|---|---|---|
CUSTOMER | Zinc (gray) | Standard account. Can browse bakeries and place orders. No admin access. |
BAKER | Amber (yellow) | Operates a bakery. Can be assigned as a bakery owner when creating a new bakery listing. |
ADMIN | Purple | Full access to the Panahashi admin panel, including users, bakeries, and orders. |
Changing a user’s role to
BAKER makes that account available in the owner dropdown when creating a new bakery. If the user you want to assign as an owner is not listed, check that their role has been set to BAKER first. See Bakeries for more details.How to change a user’s role
Find the user
Use the search field to locate the user by display name, email, or UID. The list filters in real time as you type.
Click the target role button
Each user row has three inline role buttons — CUSTOMER, BAKER, and ADMIN. The user’s current role button is highlighted and disabled. Click one of the other two buttons to assign that role.