The user management page gives admins visibility over all registered accounts on the platform. From here you can toggle admin rights and remove accounts.
Navigate to User management at /admin/users from the AdminNavbar.
The users table
The table lists every registered user with the following columns:
| Column | Description |
|---|
| Name | The user’s full name (full_name or name). |
| Email | The user’s email address. |
| Role | Administrador (admin) or Utilizador (user). |
| Registration date | When the account was created (created_at). |
| Last login | The last time the user logged in (last_login_at), or “Never” if they have not logged in yet. |
| Actions | Role toggle and delete buttons. |
User roles
The platform has two roles:
| Role | Access |
|---|
admin | Full access to all admin pages and management functions. |
user | Read-only access to the public platform — browse indicators, view charts, use favorites, read the blog. |
Changing a user’s role
In the Actions column:
- If the user has the
user role, click Tornar Admin to promote them to admin.
- If the user has the
admin role, click Remover Admin to demote them to user.
The change is applied immediately with PUT /api/users/:id/role (via the userService.updateRole method), sending { "role": "admin" } or { "role": "user" }.
Do not demote your own account to user. If you remove admin rights from your own account, you will lose access to all admin pages and will not be able to restore your own role. Ask another administrator to restore your access.
Deleting a user
Click Excluir in the Actions column. A confirmation dialog will appear before the deletion is sent.
Deletion sends DELETE /api/users/:id. The account is permanently removed from the platform.
Deleting a user is permanent. All of their session data and preferences will be lost. There is no way to recover a deleted account from within the admin panel.
Creating users
The admin panel does not provide a user creation form. New users must register through the platform’s standard registration flow (if enabled by the backend) or be created directly in the database by a system administrator.
API reference
GET /api/users — list all users (admin only)
GET /api/users/:id — get user by ID
PUT /api/users/:id — update user profile
PUT /api/users/:id/role — change user role ({ "role": "admin" | "user" })
DELETE /api/users/:id — delete user