Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions docs/product/explore/session-replay/access-control.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Restricting Replay Access
sidebar_order: 75
description: "Restrict which users can view session replays using user-based allowlists."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
description: "Restrict which users can view session replays using user-based allowlists."
description: "Restrict which users can view Session Replays using user-based allowlists."

---

Restricting Session Replay access allows organization Managers and Owners to control who can view replays by creating an allowlist of authorized users. This feature provides an additional permission layer on top of existing role, team, and project permissions.

## How It Works

Restricting replay access works in conjunction with your existing Sentry permissions. When enabled, users must meet both requirements to view replays:

1. Have standard role/team/project permissions that would normally grant replay access
2. Be included in the replay allowlist

This means the allowlist adds an additional layer of access control without replacing your existing permission model. If the feature is disabled, only standard Sentry permissions apply.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it would be good to provide an example here?

For example, if a user doesn't have access to the project with replay data, adding them to the allowlist will not change this.


## Restricting Replay Access

Organization Managers and Owners can restrict replay access in the organization settings:

1. Navigate to **Settings > Organization Settings**
2. Locate the **Restrict Replay Access** setting
3. Toggle on the **setting** to enable replay access restrictions
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
3. Toggle on the **setting** to enable replay access restrictions
3. Toggle on the setting to enable replay access restrictions

4. Once enabled, you'll see an input field that allows you to manage the allowlist

<Alert level="info">

Only organization Managers and Owners can enable this feature and manage the allowlist.

</Alert>

## User Experience Without Permissions

When a user doesn't have replay access permissions, they'll experience the following:

- **Hidden UI components**: Replay-related buttons, menus, and navigation items won't be visible
- **Blocked API endpoints**: Direct API requests to replay endpoints will be denied
- **No replay data**: Replays won't appear in issue details or other contexts where they're normally shown
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- **No replay data**: Replays won't appear in issue details or other contexts where they're normally shown
- **No replay data**: Replays won't appear in Issue Details or other contexts where they're normally shown

Copy link
Member

Choose a reason for hiding this comment

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

I think this is the most important UX piece, maybe it could be the first bullet point?

2 changes: 2 additions & 0 deletions docs/product/explore/session-replay/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ For browser-based applications, this includes static websites, single-page appli

To learn more about which SDKs we support, please visit our docs for [Web](web/#supported-sdks) and [Mobile](mobile/#supported-sdks).


Organizations can also [restrict replay access](access-control/) to specific users, which provides granular user-based permissions on top of standard role and team permissions.
<PageGrid />
Loading