This guide assumes you have read the admin guide and organization setup guide.
LangSmith offers additional customization features for user management using feature flags.

Features

Workspace level invites to an organization

The default behavior in LangSmith requires a user to be an Organization Admin in order to invite new users to an organization. For self-hosted customers that would like to delegate this responsibility to workspace Admins, a feature flag may be set that enables workspace Admins to invite new users to the organization as well as their specific workspace at the workspace level. Once this feature is enabled via the configuration option below, workspace Admins may add new users in the Workspace members tab under Settings > Workspaces. Both of the following cases are supported when inviting at the workspace level, while the organization level invite functions the same as before.
  1. Invite users who are NOT already active in the organization: this will add the users as pending to the organization and specific workspace
  2. Invite users who ARE already active in the organization: adds the users directly to the workspace as an active member (no pending state).
Admins may invite users for both cases at the same time.

Configuration

config:
  workspaceScopeOrgInvitesEnabled: true

SSO New Member Login Flow

As of helm v0.11.10, self-hosted deployments using OAuth SSO will no longer need to manually add members in LangSmith settings for them to join. Deployments will have a default organization, to which new users will automatically be added upon their first login to LangSmith. For your default organization, you can set which workspace(s) and workspace role is assigned to new members. For non-default organizations, the invitation flow remains the same. Once a user joins an organization, any changes to their workspaces or roles beyond the default organization settings must be managed either through LangSmith settings (as before) or via SCIM. Update SSO Member Settings
To change your default organization, use Set Default Organization in the organization selector dropdown. (Org Admin permissions required in both the source and target organization.)

Disabling Organization Creating

By default, any user can create an organization in LangSmith. For self-hosted customers, an admin may want to restrict this ability after setting up initial organizations. This feature flag allows an admin to disable the ability for users to create new organizations.

Configuration

The orgCreationDisabled feature flag is set to true by default for organizations using basic auth or SSO.
config:
  orgCreationDisabled: true

Disabling Personal Organizations

By default, any user who logs in to LangSmith will have a personal organization created for them. For self-hosted customers, an admin may want to restrict this ability. This feature flag allows an admin to disable the ability for users to create personal organizations.

Configuration

The personalOrgsDisabled feature flag is set to true by default for organizations using basic auth or SSO.
config:
  personalOrgsDisabled: true