Allow cookbook scopes for API tokens (#3090)

Co-authored-by: Alexandre Teixeira <111787685+alteixeira20@users.noreply.github.com>
This commit is contained in:
arnodecorte
2026-06-09 22:03:40 +02:00
committed by GitHub
parent fbd8ee9033
commit 38dc9a0a41
2 changed files with 31 additions and 0 deletions
+1
View File
@@ -67,6 +67,7 @@ def _normalize_scopes(scopes: str | list[str] | None = None, profile: str | None
ensure_before("calendar:write", "calendar:read")
ensure_before("memory:write", "memory:read")
ensure_before("email:draft", "email:read")
ensure_before("cookbook:launch", "cookbook:read")
return normalized or [DEFAULT_SCOPES]