跳到主内容

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.

Configuring account items

Each account item has four 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.

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.

账户列表

以下是帐户项目中的所有字段。 For field descriptions, see User.

  • 组织
  • ID
  • Name
  • Display name
  • 头像
  • 用户类型
  • Password
  • Email
  • Phone
  • Country code
  • 国家/地区
  • 城市
  • 附属机构
  • 职务
  • ID card type
  • ID card
  • Real name - The user's verified real name (locked after ID verification)
  • ID verification - Controls visibility and access to the verify identity button
  • 个人主页
  • 自我介绍
  • 标签
  • 注册应用
  • Register type
  • Register source
  • Roles
  • Permissions
  • Groups
  • 第三方登录
  • 属性
  • 是否为管理员
  • 是否被禁用
  • 是否已删除
  • Multi-factor authentication
  • WebAuthn credentials
  • Managed accounts
  • MFA accounts