Add OIDC User Metadata Storage

オープン
#2,702 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@lunika がすでに取り組んでいます。

2026年9月17日 から。

評価

この issue はまだ評価されていません。

説明

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
Currently, the OIDC provider returns user metadata (e.g., whether the user is a guest or internal), but there is no built-in way to store this information in docs. This limits our ability to:

  • Generate statistics based on user roles.
  • Dynamically adjust permissions or abilities (e.g., restrict guests compared to internal users).

Describe the solution you'd like
Add a feature to:

  1. Store OIDC user metadata (e.g., user_type: guest|internal) in a structured format within docs.
  2. Expose this metadata for:
    • Analytics (e.g., tracking usage by user type).
    • Role-based access control (RBAC) to enforce permissions (e.g., guests have read-only access, while internal users can edit).

Considered drawbacks:

  • Additional storage requirements for metadata.
  • Potential complexity in synchronizing metadata updates if user roles change.
主要言語
TypeScript
スター
17k
フォーク
705
平均マージ
4日 13時間
マージ済み PR(30日)
47

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

suitenumerique/docs のほかの issue

suitenumerique/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。