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
expect(result.reason).toBe("Missing required permission for read on runs");
67
+
expect(result.reason).toBe(
68
+
"Public Access Token is missing required permissions. Permissions required for 'read:runs:run_5678' but token has the following permissions: 'read:runs:run_1234', 'read:tasks', 'read:tags:tag_5678'. See https://trigger.dev/docs/frontend/overview#authentication for more information."
expect(result.reason).toBe("Missing required permission for read on tags");
178
+
expect(result.reason).toBe(
179
+
"Public Access Token is missing required permissions. Permissions required for 'read:tags:tag_3456' but token has the following permissions: 'read:runs:run_1234', 'read:tasks', 'read:tags:tag_5678'. See https://trigger.dev/docs/frontend/overview#authentication for more information."
expect(result.reason).toBe("Missing required permission for read on tasks");
246
+
expect(result.reason).toBe(
247
+
"Public Access Token is missing required permissions. Permissions required for 'read:tasks:task_1234' but token has the following permissions: 'read:all'. See https://trigger.dev/docs/frontend/overview#authentication for more information."
expect(result2.reason).toBe("Missing required permission for read on runs");
283
+
expect(result2.reason).toBe(
284
+
"Public Access Token is missing required permissions. Permissions required for 'read:runs:run_5678' but token has the following permissions: 'read:tasks', 'read:tags'. See https://trigger.dev/docs/frontend/overview#authentication for more information."
expect(result.reason).toBe("Missing required permission for read on runs");
316
+
expect(result.reason).toBe(
317
+
"Public Access Token is missing required permissions. Permissions required for 'read:runs:run_5678' but token has the following permissions: 'read:tasks'. See https://trigger.dev/docs/frontend/overview#authentication for more information."
0 commit comments