Skip to content

fix(gmail): add settings.sharing scope for filter operations#69

Merged
steipete merged 2 commits intoopenclaw:mainfrom
ryanh-ai:fix/gmail-filter-scope
Jan 16, 2026
Merged

fix(gmail): add settings.sharing scope for filter operations#69
steipete merged 2 commits intoopenclaw:mainfrom
ryanh-ai:fix/gmail-filter-scope

Conversation

@ryanh-ai
Copy link
Copy Markdown
Contributor

Summary

  • Add gmail.settings.sharing scope to Gmail service scopes
  • Filter operations require this scope; without it users get 403 insufficientPermissions

Test plan

  • Re-authorized account with new scopes
  • Verified gog gmail settings filters create works
  • Ran go run scripts/gen-auth-services-md.go to regenerate README
  • All unit tests pass

Fixes #68

@steipete
Copy link
Copy Markdown
Collaborator

Thanks!

@steipete steipete self-assigned this Jan 16, 2026
ryanh-ai and others added 2 commits January 16, 2026 09:08
Filter creation requires the gmail.settings.sharing scope. Without it,
users get a 403 insufficientPermissions error when trying to create
filters via `gog gmail settings filters create`.

Fixes openclaw#68
@steipete steipete force-pushed the fix/gmail-filter-scope branch from 2422eb4 to 2313c1b Compare January 16, 2026 09:11
@steipete steipete merged commit 86b09bf into openclaw:main Jan 16, 2026
@steipete
Copy link
Copy Markdown
Collaborator

Landed via temp rebase onto main.\n\n- Gate: pnpm lint/build/test (fails: no package.json), make lint, make test\n- Land commit: 2313c1b\n- Merge commit: 86b09bf\n\nThanks @ryanh-ai!

klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
fix(gmail): add settings.sharing scope for filter operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter creation fails with insufficientPermissions

2 participants