mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
b747c97561
- Register dedicated reports.write scope and switch deleteReport to it so cloud can issue narrowly-scoped delete keys without granting insights.write. - Make insights.parentResourceInternalId optional with null default to match its companion parentResourceType/parentResourceId fields and unblock insights with no parent (e.g. database-level performance insights). - Tighten Insight.reportId model description: insights always belong to a report, ad-hoc insights are not supported. - Add reports.write to default test API key and admin role so existing e2e tests using serverHeaders() can hit the delete endpoint. - Bump APP_CACHE_BUSTER for the schema change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>