Перейти до основного вмісту

Account customization

You can customize account items per organization: whether each field is visible and who can view or modify it. These settings apply to every member’s profile/home page in that organization.

Account menu layout

The Account menu setting on the organization controls how the user edit page navigation is rendered:

  • Horizontal (default) — Fields grouped into tabs displayed across the top of the page.
  • Vertical — Fields grouped into a sidebar menu on the left side of the page, useful for organizations with many account item tabs.

Set this in the organization edit page under Account menu.

Configuring account items

Each account item has five settings:

Column NameSelectable ValueDescription
Name-Account item name.
VisibleTrue / FalseSelect whether this account item is visible on the user home page.
ViewRuleRule ItemsSelect a rule to use when viewing the account item. Controls who can view this field.
ModifyRuleПравила елементівВиберіть правило для зміни елемента облікового запису. Controls who can edit this field.
Tab-Tab label to group this item under on the user edit page. Items with the same tab value are shown together; items with no tab value appear in the default (un-tabbed) section.

Grouping fields into tabs

Setting a Tab value on account items splits the user edit page into labelled tabs. All items that share the same tab string are grouped under one tab. Items with an empty tab value always appear first, outside any tab group.

For example, to create a "Contact" tab containing Email, Phone, and Location:

  1. Open your organization and scroll to Account items.
  2. Set the Tab column to Contact for the Email, Phone, and Location rows.
  3. Save. The user edit page will show a "Contact" tab containing those three fields.

View rule and modify rule

  • View rule — Who can see this field (e.g. email, phone).
  • Modify rule — Who can edit this field.

This is separate from Permissions, which control access to applications and resources; view/modify rules apply to individual profile fields.

Steps

  1. Navigate to Organizations in the Casdoor sidebar

  2. Click on your organization to open the Edit Organization page

  3. Scroll down to the Account items section

    account_customize.png

  4. For each item you can:

    • Set visibility — Show or hide the field on the user home page.

    account_visible.png

    • Set view and modify rules — Who can view or edit the field.

    account_rule.png

Rule options

  • Public — Anyone can view or modify this field for any user.
  • Self — Users can only view or modify their own value (matched by user ID, or by org + username if ID is missing).
  • Admin — Only organization admins can view or modify this field.

Example patterns

Here are some common configuration patterns:

FieldView RuleModify RuleUse Case
Ім'яPublicSelfEveryone can see names, but users can only change their own
Електронна поштаSelfSelfUsers can only see and change their own email
ТелефонAdminAdminOnly admins can see and change phone numbers (for privacy)
Відображуване ім'яPublicSelfPublic profile name visible to all
ПарольSelfSelfUsers can only change their own password
порада

Use Admin rules for sensitive fields like phone numbers, addresses, or internal identifiers that should only be managed by administrators.

примітка

These field-level permissions work in conjunction with the broader Permission system in Casdoor. The Permission system controls access to applications and API resources, while View rule and Modify rule control access to specific user profile fields within the Edit Organization page configuration.

Таблиця облікових записів

Below are all the fields available as account items. Each field can be independently shown/hidden and assigned view/modify rules.

FieldDescription
ОрганізаціяThe organization this user belongs to.
IDThe user's globally unique identifier (UUID).
NameThe user's unique login username within the organization.
Display nameThe name shown publicly on the user's profile.
First nameThe user's given name.
Last nameThe user's family name.
АватарThe user's profile picture.
Тип користувачаThe category of the user account (e.g. normal user, service account).
PasswordThe user's login password.
EmailThe user's email address, used for login and notifications.
PhoneThe user's phone number, used for login and SMS verification.
Country codeThe phone country/calling code (e.g. +1 for the US), used together with Phone.
Країна/РегіонThe user's country or region.
МісцезнаходженняThe user's city or address.
ПриналежністьThe user's company, school, or other organizational affiliation.
ЗванняThe user's job title or position.
ID card typeThe type of government-issued identity document (e.g. passport, national ID card, driver's license).
ID cardThe document number of the user's identity document.
ID card infoAdditional identity document details (e.g. issue date, expiry). Only visible to the user themselves.
Real nameThe user's verified legal name. Locked and cannot be changed after identity verification is completed.
ID verificationControls visibility of and access to the Verify identity button on the profile page.
Домашня сторінкаThe URL of the user's personal website or online profile.
БіографіяA short biography or personal description.
ТегOne or more custom labels attached to the user, used for filtering or grouping.
Заявка на реєстраціюThe application the user originally signed up through.
Register typeThe method used to register the account (e.g. email, phone, OAuth).
Register sourceThe channel or provider through which the user registered (e.g. Google, GitHub, invite link).
RolesThe roles assigned to this user, which determine access within Casdoor.
PermissionsThe permissions explicitly granted to this user.
GroupsThe user groups this user belongs to.
Логіни через сторонні сервісиLinked third-party OAuth accounts (e.g. Google, GitHub, WeChat) used for social login.
ВластивостіCustom key-value pairs for storing additional application-specific data about the user.
BalanceThe user's account balance, used for built-in payment or credit features.
Balance creditMinimum 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.
Balance currencyThe currency unit for the user's balance (e.g. USD, CNY).
CartItems added to the user's shopping cart (for e-commerce integrations).
ScoreA point score assigned to the user, typically by application logic.
KarmaA reputation score reflecting the user's activity or community standing.
RankingThe user's rank among all users, derived from score or other metrics.
LanguageThe user's preferred display language for the Casdoor UI.
АдміністраторWhether the user has organization administrator privileges.
ЗабороненийWhether the user account is banned; forbidden users cannot log in.
ВидаленийWhether the user account has been soft-deleted (marked as deleted but retained in the database).
Multi-factor authenticationThe user's MFA settings and enrolled second-factor methods (e.g. TOTP app, SMS).
MFA itemsThe list of individual MFA methods enrolled by the user.
WebAuthn credentialsRegistered passkeys or hardware security keys (WebAuthn/FIDO2) for passwordless login.
Last change password timeTimestamp of the user's most recent password change. Admin-only.
Managed accountsSub-accounts or delegated accounts that this user can manage on behalf of others.
Face IDEnrolled face recognition data used for biometric login.
MFA accountsExternal accounts linked specifically for multi-factor authentication purposes.
Need update passwordWhether 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.
IP whitelistIP addresses or CIDR ranges from which this user is allowed to sign in. Admin-only.