readme cleanup

This commit is contained in:
Taylor Wilsdon
2026-03-05 08:52:48 -05:00
parent bf2eb4c0c7
commit c7b0afa74c
2 changed files with 1 additions and 3 deletions

View File

@@ -568,7 +568,7 @@ uv run main.py --permissions gmail:send drive:full --tool-tier core
Granular permissions mode provides service-by-service scope control: Granular permissions mode provides service-by-service scope control:
- Format: `service:level` (one entry per service) - Format: `service:level` (one entry per service)
- Gmail levels: `readonly`, `organize`, `drafts`, `send`, `full` (cumulative) - Gmail levels: `readonly`, `organize`, `drafts`, `send`, `full` (cumulative)
- Tasks levels: `readonly`, `manage`, `full` (cumulative; `manage` allows create/update/move but denies delete) - Tasks levels: `readonly`, `manage`, `full` (cumulative; `manage` allows create/update/move but denies `delete` and `clear_completed`)
- Other services currently support: `readonly`, `full` - Other services currently support: `readonly`, `full`
- `--permissions` and `--read-only` are mutually exclusive - `--permissions` and `--read-only` are mutually exclusive
- `--permissions` cannot be combined with `--tools`; enabled services are determined by the `--permissions` entries (optionally filtered by `--tool-tier`) - `--permissions` cannot be combined with `--tools`; enabled services are determined by the `--permissions` entries (optionally filtered by `--tool-tier`)

View File

@@ -17,7 +17,6 @@ from auth.permissions import (
is_action_denied, is_action_denied,
parse_permissions_arg, parse_permissions_arg,
set_permissions, set_permissions,
SERVICE_DENIED_ACTIONS,
SERVICE_PERMISSION_LEVELS, SERVICE_PERMISSION_LEVELS,
) )
from auth.scopes import ( from auth.scopes import (
@@ -140,7 +139,6 @@ class TestGetScopesForPermission:
assert TASKS_READONLY_SCOPE in scopes assert TASKS_READONLY_SCOPE in scopes
@pytest.fixture(autouse=True) @pytest.fixture(autouse=True)
def _reset_permissions_state(): def _reset_permissions_state():
"""Ensure each test starts and ends with no active permissions.""" """Ensure each test starts and ends with no active permissions."""