What a profile contains
| Field | Description | Limit |
|---|---|---|
nombre | Display name shown across the site | 30 characters max |
sobre_mi | A short personal bio | 300 characters max |
avatar_url | URL to the user’s profile photo | Optional |
is_admin | Whether the user has administrator privileges | Set internally |
bloqueado | Whether the account is blocked by an administrator | Set by admins |
Viewing a profile
Profile pages are available at/perfilUsuario/[id], where [id] is the user’s unique identifier.
To access your own profile, navigate to /perfilUsuario/me. The server resolves me to your authenticated user ID automatically.
The profile page shows:
- The user’s avatar
- Their display name
- Their Sobre mí bio
- A Lista de recetas button that links to all their public recipes
If a profile belongs to a blocked user, a red notice banner is shown at the top of the page indicating the account is currently blocked.
Editing your profile
When you view your own profile, an Editar perfil button appears. Click it to open the edit form.Update your avatar
Click the file input under Foto de perfil to select a new image from your device. Your current avatar is shown as a preview. Leave this field empty to keep your existing photo.
Update your display name
Edit the Nombre field. This name appears on your recipes and anywhere the platform references you. It cannot be blank and must not exceed 30 characters.
Update your bio
Edit the Sobre mí text area. Write a short description about yourself. This field is optional and is limited to 300 characters.
Validation rules
Viewing a user’s recipes
On any profile page, click Lista de recetas to see all the recipes that user has shared. This navigates to/listaRecetas?userId=[id] and displays the user’s public recipes in the same card grid used on the home page.
If the user has not uploaded any recipes yet, a message indicates that their list is empty.
Admin and blocked status
- Admin status
- Blocked status
Users with
is_admin = true have elevated privileges across the site:- They can hide or unhide any recipe that is not their own (see Recipes — Admin visibility controls).
- They can block or unblock any user account that is not their own.
Admin controls on profile pages
When an admin views another user’s profile, a Banear usuario button appears (or Desbloquear usuario if the account is already blocked). Clicking the button shows a confirmation dialog before the status changes.Admins cannot block their own account. The block/unblock button only appears when viewing another user’s profile.