ユーザーのステータス、役割、権限の理解

:bookmark: これは、Discourse 内のさまざまなユーザーの状態、ロール、権限を理解するためのガイドであり、ユーザーの機能にどのように影響するか、またデータベースにどのように保存されるかを含みます。

:person_raising_hand: 必要なユーザーレベル: Administrator

Discourse には、組み込みのユーザーの状態、ロール、権限が多数あります。

これらの状態とロールは、管理者ダッシュボードのユーザーセクションからユーザーのプロフィールを表示するときに、特定のユーザーに対して確認できます。

権限の状態

アクティブ (Activated)

アカウントがメールアドレスを確認済みであり、したがって Discourse インスタンスでアクティブであることを意味します。

  • アカウントは Discourse にログインできます。非アクティブなアカウントはログインできません。
  • 非アクティブなアカウントは、メールアドレスの確認(および登録を完了するために必要なその他のルート)のみを実行できます。

保存場所: users テーブルの active ブール値カラム

ステージ済み (Staged)

メール統合のためにシステムによって自動的に作成される特別なプレースホルダーアカウントです。

  • メールダイジェストが送信されることはありません。
  • 参加したすべてのメッセージを自動的にウォッチし、返信の通知を受け取ります。
  • 通知を介してメールで返信できます。
  • ユーザー名と名前は自動的に選択されます。
  • アカウントは同じメールアドレスで登録し、ステージ済みアカウントを「引き継ぐ」ことができます。
  • パスワードリセットメールを受け取ることはできません。

保存場所: users テーブルの staged フィールド

管理者 (Admin)

管理者ユーザーはシステム内のスーパーユーザーであり、以下のことができます。

  • 非管理者のなりすまし
  • サイト設定の変更
  • グループの作成
  • サイトのカスタマイズの修正
  • モデレーターができるすべての操作の実行
  • プライベートメッセージのすべてを読むこと
  • カテゴリの作成、削除、変更
  • プライベートカテゴリを表示するためのカテゴリ権限を無視すること

保存場所: users テーブルのブール値フィールド admin が管理者アカウントをフラグ付けします。

モデレーター (Moderator)

サイトをモデレートできるパワーユーザーです。

  • 投稿で名前にシールドアイコンが表示されます。
  • スタッフができるすべての操作を実行できます。

保存場所: users テーブルのブール値フィールド moderator

スタッフ (Staff)

スタッフユーザーは、管理者またはモデレーター(またはその両方)のいずれかであるユーザーです。

  • レート制限から免除されます。
  • モデレーションキューにあるフラグと投稿を処理できます。
  • トピックや投稿の削除、トピックの分割、トピックのマージ、トピックの非表示などができます。
  • ユーザー情報(モデレーターの場合はメールアドレスを除く)を表示できます。
  • ユーザーの停止、サイレンス化、匿名化、削除ができます。
  • ユーザーの信頼レベルを調整できます。

保存場所: users テーブルの admin および moderator カラムから計算されます。

カテゴリモデレーター (Category Moderator)

これは、特定のカテゴリに対する選択されたモデレーション権限を付与されたグループの一員である非スタッフユーザーです。これは、管理設定 enable category group moderation を使用してサイトごとに有効にし、カテゴリの「設定」タブで各カテゴリに対して設定できます。

信頼レベル 0 - 4

参照: Discourseの信頼レベルは何をするものですか? (What do user trust levels do?)

保存場所: users テーブルの数値フィールド trust_level

一時停止中 (Suspended)

Discourse インスタンスからアカウントが停止されています。

  • ユーザーページに停止理由を示すメモが表示されます。
  • ログインは許可されません。
  • アカウントはスタッフによってのみメンションできます。
  • ユーザーへの通知(ダイジェスト、メッセージなど)のためにメールが送信されることはありません。
  • 例外として、スタッフによって開始されたメールはすべてユーザーに送信されます。

保存場所: users テーブルの suspended_till datetime カラム

サイレント (Silenced)

スタッフによる手動、またはスパムシステムによって問題のあるアカウントとしてフラグが立てられた場合に、すべての投稿が無効になります。

  • アカウントはいかなるトピックにも返信できません。
  • アカウントはいかなるトピックも作成できません。
  • アカウントはプライベートメッセージの作成はできませんが、プライベートメッセージへの返信はできます。
  • アカウントはいかなるフラグも作成できません。
  • アカウントは引き続き「いいね」やブックマークができます。
  • アカウントは引き続きユーザー設定や自己紹介を変更できます(これが良い考えかどうかは要検討)。
  • メーリングリストモードは機能しなくなります。

保存場所: users テーブルの silenced_till datetime カラム


その他の状態

ユーザーは、管理者ダッシュボードの権限セクションには表示されない、いくつかの追加の状態を持つことができます。

新規ユーザー (New user)

利用開始の最初の日または新しいアカウントのための特別な制限付きアカウントです。new_users はサイト設定で定義された特別なレート制限を持ちます。

  • 過去 24 時間以内に作成された信頼レベル 1 のアカウント、または信頼レベル 0 のアカウント。
  • 非スタッフアカウント。

制限:

  • 30 秒に 1 回しか投稿を作成できません (rate_limit_new_user_create_post)

保存場所: users テーブルの created_atmoderatoradmin、および trust_level カラムから計算されます。

初日ユーザー (First day user)

最初の投稿から 24 時間以内にユーザーに適用される特別な追加の制限です。

  • まだ投稿していない、または最初の投稿が 24 時間未満前に作成された。
  • 非スタッフアカウント。
  • TL2 以上ではない。

制限:

  • 10 回の返信のみ作成可能 (max_replies_in_first_day)
  • 3 トピックのみ作成可能 (max_topics_in_first_day)

保存場所: user_stats テーブルの first_post_created_at、および users テーブルの moderatoradmintrust_level カラムから計算されます。

承認済み (Approved)

サイト設定 must_approve_users が有効になっている場合、ログインが許可される前にユーザーは approved である必要があります。

保存場所: users テーブルの approved ブール値カラム

開発者 (Developer)

Discourse のインストールに使用される特別なアカウントです。

  • ページ上のタイミングを表示する rack-mini-profiler を表示。
  • 管理者を含む任意のアカウントになりすます。
  • 自動的に管理者になり、すべて管理者権限を持ちます。

保存場所: グローバル設定 developer_emails または developers テーブルを通じて制御されます。Docker インストールでは、環境変数 DISCOURSE_DEVELOPER_EMAILS を使用して、開発者であるユーザーのメールアドレスのリストを指定します。

追加リソース

カテゴリモデレーターに付与される特定の権限の詳細な内訳については、Trust Level Permissions Reference を参照してください。

「いいね!」 90
Modifying Staff Roles to go beyond Administrator and Moderator?
List of full moderation tools?
Deactivating users permanently
Improving Blocked User State
Which setting(s) would prevent Discourse from emailing an old user?
What permissions can admins give moderators?
View Forum as User X
Levels and Staff roles
A new trust level: The Helpful member?
Understading groups in discourse
How to disable mail for staged users?
How i can manage roles for moderators and administrators?
Discourse User Roles difference
Suspend all users apart from admin users for development copy
Who is able to change profile of another user
How do I block a user?
How does discourse count users?
A single number for users ranking (reputation like)?
Allow moderators to create groups
What is a staged user?
Discourse User Features
How to activate users after a large import of mbox archives
Disable DM visibility from Admins
Understanding Discourse Trust Levels
What are "staged users"?
Additional admins & moderators / staff users on pricing page
Trying to understand "staff" slots and moderation in hosted plans
Promoting a User to Admin or Moderator Status
Moderators vs Staff
Adding users to the developers table
Error adding a backup email address: address already in use by a staged user
Trying to understand "staff" slots and moderation in hosted plans
Create staged users via API?
Admin ability to impersonate other admin differs between admins
My Wiki of useful Meta (and other) links
TOC missing after using browsers back button
Proposed: allow moderators to silence, not delete users flagged by akismet
Incorrect account stats
How to reply to staged user through discourse?
Daily Summary (9pm UTC)
Improving Blocked User State
Users who are 'activated' but not 'approved'
Why are system and super admin both mod and admin?
Why are system and super admin both mod and admin?
Does the 'Posted' field in the user card include topics in private categories?
Unlisted option on creation of a new topic
Improving Blocked User State
Are banned members supposed to receive email notifications?
What is a staff user on hosted Discourse?
Limit the daily number of posts from a user
Major slowdown for staff in large topics
For how long a new user is considered "new user"?
How to invite someone to answer a question?
Auto-remove accounts when SSO ID is not longer valid
Best strategy for member who wants to "pause"? Suspend may not be it
How might we better structure #howto?
Send email to non registered user in a group
Difference between “member” and “staff user”
Send email to non registered user in a group
New pending application generates staff notification
Change user registration date (created_at) via API
Please update 'Understanding Discourse Trust Levels' — or is there a different doc?
When you started your first Discourse community, what did you find hard to do?
Can I enforce Slow Mode on a per-user basis or limit their comments?
Understanding Discourse Trust Levels
Watch topic using email address without requiring registration
Can T4 members access personally identifiable information?
How to get an API key