gristlabs/grist-core

Prevent auto-creation of user or personal Team

オープン

#1,905 opened on 2025/10/28

 (0 件のコメント) (3 件のリアクション) (0 人の担当者)TypeScript (168 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (3,613 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Describe the problem to be solved

This was initially posted on the community forum, but I was instructed to make a feature request.

I’m setting up self-hosted grist for my company with multiple orgs.

Not all users that are able to log in via OIDC should have access to Grist. However, Grist creates a new user and a “Personal Team” at domain /o/docs-{UserID} for every unrecognized user.

Describe the solution you would like

Either of the following

  1. Users are exclusively created by GRIST_SUPPORT_EMAIL via SCIM APIs. Once user profile info is retrieved from OIDC, if user does not exist, then 403 Forbidden.
  2. Unrecognized User logs in via OIDC and a new user is created, but no personal orgs are created thus user does not belong to any org and is shown the Access Denied screen when landing on /o/docs. It'd also be important to prevent the user from creating new orgs, via UI and API. Users are added to orgs exclusively by GRIST_SUPPORT_EMAIL via API.

コントリビューターガイド