You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/langsmith/billing.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,6 +182,10 @@ The extended data retention limit can cause features other than tracing to stop
182
182
183
183
Data retention settings are adjustable per tracing project.
184
184
185
+
<Note>
186
+
This UI requires the `projects:increase-trace-tier` or `projects:decrease-trace-tier` permission (or both). If you lack both, the retention settings UI is hidden entirely. If you have only one, the UI is partially enabled β the disallowed direction is disabled. To grant these permissions separately to a custom role, refer to [custom roles](/langsmith/rbac#custom-roles).
187
+
</Note>
188
+
185
189
Navigate to **Projects** > ***Your project name*** > Select **Retention** and select the desired default retention. This will only affect retention (and pricing) for **traces going forward**.
@@ -219,6 +217,10 @@ Projects organize traces and runs from your LLM applications.
219
217
| Get run cluster from insights job (Beta) | β | β | β |`projects:read`|
220
218
| Get runs from insights job (Beta) | β | β | β |`projects:read`|
221
219
220
+
<Note>
221
+
\*`projects:increase-trace-tier` and `projects:decrease-trace-tier` are independent and can be granted separately in custom roles. For example, you can allow a role to decrease retention without allowing it to increase retention. If a user lacks both permissions, the retention settings UI is hidden entirely. If they have only one, the UI is partially enabled (the disallowed direction is disabled).
222
+
</Note>
223
+
222
224
### Runs
223
225
224
226
Individual execution traces and spans from your LLM applications.
Copy file name to clipboardExpand all lines: src/langsmith/rbac.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,9 @@ Note the following details on custom roles:
209
209
- Custom roles cannot have organization-level permissions.
210
210
- Users can have different roles (including custom roles) in different workspaces.
211
211
212
-
<Warning>
213
-
The `workspaces:manage` permission does **not** include the ability to manage workspace members. To allow a custom role to add, remove, or update workspace members, you must explicitly grant the `workspaces:manage-members` permission. The built-in Workspace Admin role includes both permissions automatically.
214
-
</Warning>
212
+
### Understand permission behavior
213
+
214
+
Some permissions offer granular control when used in custom roles:
215
+
216
+
-`workspaces:manage` does **not** include the ability to manage workspace members. To allow a custom role to add, remove, or update workspace members, you must explicitly grant `workspaces:manage-members`. The built-in Workspace Admin role includes both permissions automatically.
217
+
-`projects:increase-trace-tier` and `projects:decrease-trace-tier` are independent and can be granted separately. For example, you can allow a role to decrease retention without allowing it to increase retention. If a user lacks both permissions, the retention settings UI is hidden entirely. If they have only one, the UI is partially enabled (the disallowed direction is disabled).
0 commit comments