Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix: show correct label for tracing on access control page (#63322)

Reece Jonesc0240bcc34f3
diff --git a/frontend/src/lib/utils/accessControlUtils.ts b/frontend/src/lib/utils/accessControlUtils.ts
index 21011c581748..f9dac5e01e0b 100644
--- a/frontend/src/lib/utils/accessControlUtils.ts
+++ b/frontend/src/lib/utils/accessControlUtils.ts
@@ -73,6 +73,8 @@ export const pluralizeResource = (resource: APIScopeObject): string => {
return 'data warehouse tables & views'
} else if (resource === AccessControlResourceType.Logs) {
return 'logs'
+ } else if (resource === AccessControlResourceType.Tracing) {
+ return 'tracing'
}
return resource.replace(/_/g, ' ') + 's'
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index 8029c513fc33..9fe56060c0fd 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -295,6 +295,7 @@ export enum AccessControlResourceType {
WebAnalytics = 'web_analytics',
ActivityLog = 'activity_log',
ErrorTracking = 'error_tracking',
+ Tracing = 'tracing',
}
interface UserBaseType {