The Users tab of the admin panel lets you view all registered users on the GOAT Portfolio platform, search by name or email address, filter by account status, and take moderation actions. A summary of total, active, and suspended user counts is displayed at the top of the tab.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/giangartun/Tis-GOAT-Frontend/llms.txt
Use this file to discover all available pages before exploring further.
User list
The user list is fetched from the following endpoint when the admin panel loads, and again whenever search or filter inputs change:| Parameter | Type | Description |
|---|---|---|
search | string | Free-text search against user name and email |
estado | activo | suspendido | todos | Filter by account status. Use todos or omit to return all users |
page | number | Page number for pagination (default: 1) |
per_page | number | Number of results per page (default: 10) |
Pagination controls appear at the bottom of the user table only when
last_page > 1. The current page, total page count, and total user count are displayed alongside the Previous and Next navigation buttons.Suspending a user
To suspend a user, click the Suspend button on their row in the user table. A confirmation modal will appear showing the user’s name and email before the action is committed. Once confirmed, the frontend calls:suspendido status. Suspended user rows are visually highlighted in red in the table.
Reactivating a user
To restore access for a suspended user, click the Reactivate button on their row. The same confirmation modal pattern applies. Once confirmed, the frontend calls:activo and they can log in normally on their next attempt. Note that the Suspend and Reactivate buttons are mutually exclusive — only one is shown per row depending on the user’s current estado. Admin accounts do not show either action button.
Audit log (Bitácora)
Switch to the Audit Log tab to browse the full historical record of platform events. The log is fetched from:| Parameter | Type | Description |
|---|---|---|
tipo | string | Action type filter (see values below) |
fecha_desde | string | Start date for range filter (YYYY-MM-DD) |
fecha_hasta | string | End date for range filter (YYYY-MM-DD) |
id_usuario | string | Filter to a specific user’s events |
page | number | Pagination page number |
tipo filter values:
| Value | Description |
|---|---|
todos | All action types (default) |
suspender | Account suspension events |
reactivar | Account reactivation events |
modificaciones | Profile and content modification events |
creacion | Account creation events |
login | Login events |
logout | Logout events |
contexto field is null for events with no additional metadata, or a Record<string, any> object containing details such as the IP address, device information, the database table affected, the action performed, the reason for an admin action, and the ID of the admin who executed it. Clicking View Details on any log row opens a modal that parses and displays these context fields in a structured format, with a raw JSON viewer also available.
Date range inputs accept values between 2024-01-01 and 2030-12-31. Validation errors are shown inline if an invalid date is entered. After adjusting filters, click Apply to refresh the results.
Exporting the audit log as PDF
Both the Users tab and the Audit Log tab include an Export PDF button in the top-right area of the panel. Clicking this button triggers the browser’s native print dialog (window.print()), which can be used to save the current view as a PDF file. Only the data table itself is included in the printout — navigation elements, filter controls, and action buttons are hidden during printing via print-specific CSS.