Skip to content

Commit eb9617f

Browse files
authored
feat: Add insight and dashboard creation scopes (#200)
1 parent d3f49ff commit eb9617f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.claude/commands/analysis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Review the most recent contents of /tmp/posthog-wizard.log. Look for

src/utils/clack-utils.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,14 @@ async function askForWizardLogin(options: {
589589
}): Promise<ProjectData> {
590590
const tokenResponse = await performOAuthFlow({
591591
cloudRegion: options.cloudRegion,
592-
scopes: ['user:read', 'project:read', 'introspection', 'task:write'],
592+
scopes: [
593+
'user:read',
594+
'project:read',
595+
'introspection',
596+
'task:write',
597+
'dashboard:write',
598+
'insight:write',
599+
],
593600
signup: options.signup,
594601
});
595602

0 commit comments

Comments
 (0)