gmail.settings.basic scope missing from auth login scope picker — cannot create Gmail filters
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- authentication, cli
Research direction
Start at the scope definitions and selection flow used by gws auth login; the issue does not name a file or test. Reproduce the login scope picker and then run the documented gws gmail users settings filters create command. Done means gmail.settings.basic is selectable or included with gmail.modify, and the filter command no longer fails for insufficient authentication scopes.
Written by the indexing model from the issue text.
Description
Description
The gmail users settings filters create command exists in gws and is correctly documented, but it cannot be used because gmail.settings.basic is not available as a selectable scope in gws auth login.
Steps to reproduce
- Run
gws auth login— the scope picker shows 9 scopes, Gmail is represented only bygmail.modify - Authenticate with all available scopes selected
- Run:
gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "example@domain.com"}, "action": {"addLabelIds": ["Label_1"]}}' - Receive:
{"error": {"code": 403, "message": "Request had insufficient authentication scopes.", "reason": "insufficientPermissions"}}
Expected behaviour
gmail.settings.basic should be available in the scope picker (or included alongside gmail.modify), so that users.settings.filters.* commands work.
Environment
- gws version: latest
- OS: macOS (darwin 25.4.0)
- Account type: personal
@gmail.com
- Dominant language
- Rust
- Stars
- 31.1k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from googleworkspace/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
googleworkspace/cli#921 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
googleworkspace/cli#920 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleworkspace/cli#914 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
googleworkspace/cli#882 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleworkspace/cli#858 ·
All issues in googleworkspace/cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100