gristlabs/grist-core

Prevent auto-creation of user or personal Team

開放

#1,905 建立於 2025年10月28日

 (0 則留言) (3 個反應) (0 位負責人)TypeScript (168 個分叉)batch import
good first issue

倉庫指標

星標
 (3,613 顆星)
PR 合併指標
 (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.

貢獻者指南