メインコンテンツにスキップ

アカウントカスタマイズ

イントロダクション

組織内では、ユーザーのアカウント項目をカスタマイズできます。 これには、各項目が表示されるか、およびその表示ルール変更ルールが含まれます。

組織でアカウント項目をカスタマイズすると、その組織の全メンバーのホームページにこの設定が適用されます。

カスタマイズ方法は?

アカウント項目には4つの属性があります:

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.

Understanding View Rule and Modify Rule

View rule and Modify rule provide field-level permission control for user account items:

  • View rule: Determines who can see the value of this account field (e.g., email, phone number, address)
  • Modify rule: Determines who can change the value of this account field

This is different from the broader Permission feature, which controls access to applications and resources. View rule and Modify rule specifically control access to individual user profile fields.

Configuration 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. Casdoorはアカウント項目を設定するためのシンプルな操作を提供します:

    a. Set item visibility

    Control whether this account item is shown on the user home page:

    account_visible.png

    b. Set viewing and modifying rules

    Configure who can view and modify each field:

    account_rule.png

Available Rules

There are 3 rules available for both View rule and Modify rule:

  • Public: Everyone has permission. Any user can view/modify this field for any user.
  • Self: Each user has their own permission. Users can only view/modify their own field values.
  • Admin: The administrator has permission. Only organization administrators can view/modify this field for users.

Example Use Cases

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.

アカウントテーブル

以下はアカウント項目の全てのフィールドです。 説明については、userを参照してください。

  • 組織
  • ID
  • Name
  • Display name
  • アバター
  • ユーザータイプ
  • Password
  • Email
  • Phone
  • 国/地域
  • 場所
  • 所属
  • タイトル
  • ホームページ
  • バイオ
  • タグ
  • サインアップ申請
  • サードパーティログイン
  • プロパティ
  • 管理者かどうか
  • グローバル管理者かどうか
  • 禁止されているかどうか
  • 削除されているかどうか