Skip to content

Add Experiments project access control docs - #39707

Draft
imran-at-datadog wants to merge 4 commits into
masterfrom
imran.hendley/experiments-dac-docs
Draft

Add Experiments project access control docs#39707
imran-at-datadog wants to merge 4 commits into
masterfrom
imran.hendley/experiments-dac-docs

Conversation

@imran-at-datadog

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Documents Data Access Control for Agent Observability Experiments projects, which lets an admin restrict a single project so only chosen teams or roles can see it.

Adds llm_observability/improve/experiments/access_control covering what a restriction hides (list views, direct links, spans, evaluation metrics, dataset records, and writes), how to author the policy, the API equivalent, and the limitations.

Also corrects the Agent Observability entry on the Data Access Control page. It currently reads:

Only the event data is restricted—experiment list views and metadata are not. Datasets, annotation queues, and managed prompts are not supported.

Both statements describe an earlier state of the feature. List views, metadata, and Experiments datasets are now restricted; annotation queues and managed prompts remain unsupported.

Files:

File Change
llm_observability/improve/experiments/access_control.md New page
account_management/rbac/data_access.md Corrected the Agent Observability entry, added a link
llm_observability/data_privacy_security_and_rbac.md One-line pointer to the new page
config/_default/menus/main.en.yaml Nav entry under Experiments

Merge readiness

  • Ready for merge

Not ready — please review but do not merge yet. The feature is behind a feature flag that is currently off in production. The correction to data_access.md describes behavior that is not live yet, so merging before the rollout would make that page inaccurate in the other direction. I will comment here when the flag is on and check the box.

For Datadog employees:

Two review notes:

  1. The page deliberately describes one workflow for two UIs. Datadog is rolling out a redesigned access control page (unified_access_control_page), currently enabled for a small number of organizations, with a wider rollout planned. Rather than fork the instructions, the page gives one set of steps plus a callout naming what differs, and links to /organization-settings/data-access-controls — which redirects to the new page for organizations that have it, so one link is correct for both audiences and needs no change after the rollout completes. Flagging in case Docs would rather see tabs or a site-region-style split.

  2. The SDK limitation is newly stated in customer-facing terms. Running an experiment through the SDK stamps the application's own ml_app on its task spans, so a policy keyed on the project does not match those spans (the project and its metadata are still hidden). This is a known and accepted gap, but it has not been documented before, so it is worth a second opinion on the wording.

AI assistance

Drafted with Claude Code from the feature's design docs and from the QA notes on the implementation PRs, then reviewed and corrected by hand. AI-assisted research into which app URLs and UI states each customer cohort sees.

Additional notes

Preview links should show the new page under Agent Observability > Use Agent Observability to Improve Applications > Experiments > Restrict Access to Projects.

Documents restricting an Agent Observability Experiments project with Data
Access Control: what a restriction hides, how to author the policy on either
the current or the redesigned access control page, the API equivalent, and the
limitations (SDK-run spans keyed on the app's own ml_app, and event data
ingested before the feature was available).

Also corrects the Agent Observability entry on the Data Access Control page,
which said only event data is restricted and that datasets are unsupported.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the Architecture Everything related to the Doc backend label Sep 3, 2026
imran-at-datadog and others added 3 commits September 4, 2026 13:36
The previous wording explained the backfill mechanism (project ID is used as
ml_app only when none is set), which reads as a lever the reader can pull. It
is not: the SDK always sends an ml_app value, so the backfill never applies to
SDK traffic. State the outcome and the remedy instead.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The overview promised that a restricted user cannot read the spans or
evaluation metrics of a restricted project's runs, and the limitations section
then took half of that back. For an SDK-run experiment the two differ: eval
metrics carry no ml_app and are backfilled to the project id, while task spans
carry the application's ml_app and are not matched. Say so once, up front.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The page said holders of user_access_manage are not subject to restrictions.
They are: the permission gates authoring a policy, while the access decision
is taken over the user's teams and roles with no permissions input. Verified
on staging as a non-granted admin — the project is hidden and its dataset
records 404.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant