Skip to content

Conversation

@bvs-langchain
Copy link
Contributor

@bvs-langchain bvs-langchain commented Oct 30, 2025

Overview

adds documentation on restricting PAT creation

  • restrict per-user: use the new Organization Viewer role
  • restrict for the entire organization: new pat_creation_disabled setting

Type of change

Type: Update existing documentation

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue: ent-126
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes

Copilot AI review requested due to automatic review settings October 30, 2025 19:52
@github-actions github-actions bot added the langsmith For docs changes to LangSmith label Oct 30, 2025
@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-briane-1761853979-b16de2a

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR documents the new "Organization Viewer" role and PAT (Personal Access Token) creation controls for LangSmith organizations. The changes clarify permission structures and provide guidance on restricting PAT creation.

  • Documents new "Organization Viewer" role that cannot create PATs
  • Adds documentation for API-based PAT creation controls
  • Updates organization permissions table to include the new role

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/langsmith/manage-organization-by-api.mdx Adds note about Organization Admin permissions requirement and documents API endpoints for disabling/enabling PAT creation organization-wide
src/langsmith/administration-overview.mdx Introduces Organization Viewer role description, updates permissions table to include new role and PAT creation permissions, and removes asterisk footnotes from table entries


* `Organization Admin` grants full access to manage all organization configuration, users, billing, and workspaces. **An `Organization Admin` has `Admin` access to all workspaces in an organization**
* `Organization User` may read organization information but cannot execute any write actions at the organization level. **An `Organization User` can be added to a subset of workspaces and assigned workspace roles as usual (if RBAC is enabled), which specify permissions at the workspace level.**
* `Organization User` may read organization information but cannot execute any write actions at the organization level. An `Organization User` may create Personal Access Tokens. **An `Organization User` can be added to a subset of workspaces and assigned workspace roles as usual (if RBAC is enabled), which specify permissions at the workspace level.**
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The description for Organization User now spans three sentences with varying levels of emphasis (some bold, some not), making it harder to parse. Consider restructuring for consistency with the Organization Admin format: "Organization User may read organization information but cannot execute any write actions at the organization level. An Organization User can be added to a subset of workspaces and assigned workspace roles as usual (if RBAC is enabled), which specify permissions at the workspace level. An Organization User may create Personal Access Tokens."

Suggested change
* `Organization User` may read organization information but cannot execute any write actions at the organization level. An `Organization User` may create Personal Access Tokens. **An `Organization User` can be added to a subset of workspaces and assigned workspace roles as usual (if RBAC is enabled), which specify permissions at the workspace level.**
* `Organization User` may read organization information but cannot execute any write actions at the organization level. **An `Organization User` can be added to a subset of workspaces and assigned workspace roles as usual (if RBAC is enabled), which specify permissions at the workspace level. An `Organization User` may create Personal Access Tokens.**

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings October 31, 2025 13:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@github-actions
Copy link
Contributor

Mintlify preview ID generated: preview-briane-1761916482-c839573

@bvs-langchain bvs-langchain merged commit 8bdcd20 into main Oct 31, 2025
17 checks passed
@bvs-langchain bvs-langchain deleted the brian/ent-126-add-restricting-creating-pats branch October 31, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

langsmith For docs changes to LangSmith

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants