Skip to content

Commit f963614

Browse files
committed
chore(webapp): restore the dashboard agent's flag gate
1 parent fc32fc6 commit f963614

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

apps/webapp/app/v3/canAccessDashboardAgent.server.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ export async function canAccessDashboardAgent(options: {
1515
// The org's already-loaded `featureFlags`. Omitted means we query the org ourselves.
1616
orgFeatureFlags?: Record<string, unknown> | null;
1717
}): Promise<boolean> {
18-
// TEMPORARY (V1 rollout testing, TRI-12870): open to everyone. Flip back to
19-
// false to restore the flag gate below.
20-
const OPEN_TO_EVERYONE: boolean = true;
21-
if (OPEN_TO_EVERYONE) return true;
22-
2318
const { userId, isAdmin, isImpersonating, organizationSlug, orgFeatureFlags } = options;
2419

2520
if ((isAdmin || isImpersonating) && env.DASHBOARD_AGENT_ADMIN_PREVIEW === "1") {

0 commit comments

Comments
 (0)