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 by gmail.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