gristlabs/grist-core

Prevent auto-creation of user or personal Team

Open

#1,905 创建于 2025年10月28日

在 GitHub 查看
 (0 评论) (3 反应) (0 负责人)TypeScript (168 fork)batch import
good first issue

仓库指标

Star
 (3,613 star)
PR 合并指标
 (平均合并 11天 9小时) (30 天内合并 47 个 PR)

描述

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.

贡献者指南