Saltar al contenido principal

Customize the account page

This guide explains how to configure the account items of an organization. Account items are the fields on the account page and the user edit page of every member of the organization. For each field, you decide whether it is visible, who can view it, and who can edit it.


Learning outcomes​

  • Show or hide fields of the account page.
  • Restrict who can view and edit a field.
  • Group fields into tabs and choose the layout of the tabs.

What you need​

  • Administrator access to the organization in the Casdoor admin console

About account items​

Each account item has the following settings:

ColumnValuesDescripción
NombreA field from the list of account itemsThe field
VisibleOn or offWhether the field appears on the account page
View rulePublic, Self, AdminWho can see the value of the field
Modify ruleSelf, Admin, ImmutableWho can change the value of the field
PestañaTextTab under which the field appears on the user edit page

The rules have the following meaning:

RuleWho can view or change the field
PublicView rule only. Everyone can see the field of any user
SelfEach user, for their own account only. Casdoor matches by user ID, or by organization and username if the ID is missing
AdminAdministrators of the organization only
ImmutableModify rule only. Nobody can change the field on the account page
nota

View rules and modify rules apply to single fields of a user profile. They are separate from permissions, which control access to applications and resources.

Configure the account items​

  1. In the Casdoor admin console, go to User Management > Organizations and open the organization.

  2. Scroll to Account items.

    Account items of an organization

  3. To show or hide a field, switch Visible.

    Visible switch of an account item

  4. To restrict a field, select a View rule and a Modify rule.

    View rule and Modify rule of an account item

  5. Save the organization.

Common patterns​

CampoView RuleModify RuleUse Case
NamePublicSelfEveryone can see names, but users can only change their own
EmailSelfSelfUsers can only see and change their own email
PhoneAdminAdminOnly admins can see and change phone numbers (for privacy)
Display namePublicSelfPublic profile name visible to all
PasswordSelfSelfUsers can only change their own password
consejo

Use the Admin rule for sensitive fields that only administrators should manage, such as phone numbers, addresses, and internal identifiers.

Group fields into tabs​

Items with the same Tab value appear together under one tab of the user edit page. Items without a tab value appear first, outside the tabs.

For example, to create a Contact tab with the email address, the phone number, and the location:

  1. Open the organization and scroll to Account items.
  2. Set Tab to Contact in the rows Email, Phone, and Location.
  3. Save the organization. The user edit page now has a Contact tab with the three fields.

Choose the tab layout​

Account menu on the organization edit page sets how the tabs are shown:

OptionLayout
Horizontal (default)Tabs across the top of the page
VerticalA menu on the left side of the page. Use it for organizations with many tabs

List of account items​

FieldDescripción
OrganizaciónThe organization this user belongs to.
IDThe user's globally unique identifier (UUID).
NameThe user's unique login username within the organization.
Nombre para mostrarThe name shown publicly on the user's profile.
NombreThe user's given name.
ApellidoThe user's family name.
AvatarThe user's profile picture.
Tipo de usuarioThe category of the user account (e.g. normal user, service account).
ContraseñaThe user's login password.
EmailThe user's email address, used for login and notifications.
TeléfonoThe user's phone number, used for login and SMS verification.
Código de paísThe phone country/calling code (e.g. +1 for the US), used together with Phone.
País/RegiónThe user's country or region.
UbicaciónThe user's city or address.
AfiliaciónThe user's company, school, or other organizational affiliation.
TítuloThe user's job title or position.
Tipo de carnetThe type of government-issued identity document (e.g. passport, national ID card, driver's license).
Documento de IdentidadThe document number of the user's identity document.
Información del carnetAdditional identity document details (e.g. issue date, expiry). Only visible to the user themselves.
Nombre realThe user's verified legal name. Locked and cannot be changed after identity verification is completed.
Verificación de identidadControls visibility of and access to the Verify identity button on the profile page.
Página de inicioThe URL of the user's personal website or online profile.
BiografíaA short biography or personal description.
EtiquetaOne or more custom labels attached to the user, used for filtering or grouping.
Solicitud de registroThe application the user originally signed up through.
Tipo de registroThe method used to register the account (e.g. email, phone, OAuth).
Fuente de registroThe channel or provider through which the user registered (e.g. Google, GitHub, invite link).
Roles de accesoThe roles assigned to this user, which determine access within Casdoor.
PermisosThe permissions explicitly granted to this user.
Grupos - Información adicionalThe user groups this user belongs to.
Inicios de sesión de tercerosLinked third-party OAuth accounts (e.g. Google, GitHub, WeChat) used for social login.
PropiedadesCustom key-value pairs for storing additional application-specific data about the user.
SaldoThe user's account balance, used for built-in payment or credit features.
Saldo (créditos)Minimum balance floor for the user's account. Must be ≤ 0. Set to 0 (default) to prevent the balance from going negative. Set to a negative value (e.g. -50) to allow the balance to drop as low as that amount before transactions are blocked.
Moneda del saldoThe currency unit for the user's balance (e.g. USD, CNY).
CarritoItems added to the user's shopping cart (for e-commerce integrations).
PuntuaciónA point score assigned to the user, typically by application logic.
Puntos de karmaA reputation score reflecting the user's activity or community standing.
ClasificaciónThe user's rank among all users, derived from score or other metrics.
IdiomaThe user's preferred display language for the Casdoor UI.
Es administradorWhether the user has organization administrator privileges.
Está prohibidoWhether the user account is banned; forbidden users cannot log in.
Está eliminadoWhether the user account has been soft-deleted (marked as deleted but retained in the database).
Autenticación multifactorThe user's MFA settings and enrolled second-factor methods (e.g. TOTP app, SMS).
Elementos MFA - Información adicionalThe list of individual MFA methods enrolled by the user.
Credenciales de WebAuthnRegistered passkeys or hardware security keys (WebAuthn/FIDO2) for passwordless login.
Última vez que cambió la contraseñaTimestamp of the user's most recent password change. Admin-only.
Cuentas gestionadasSub-accounts or delegated accounts that this user can manage on behalf of others.
Autenticación Face IDEnrolled face recognition data used for biometric login.
Cuentas MFAExternal accounts linked specifically for multi-factor authentication purposes.
Necesita actualizar contraseñaWhether the user is required to change their password at next login. Admin-only. When set, the user is redirected to their Account page after sign-in and cannot navigate elsewhere until the password is updated.
Lista blanca de IPIP addresses or CIDR ranges from which this user is allowed to sign in. Admin-only.

See also​