mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
4883071059
* Allow viewers to create and access API keys Still guarded by their view permissions * Drop Member role gate from apiKeys routes Lets viewers reach the createApiKey/listApiKeys/delete policy checks now that the policy itself permits them. Updates CleanupDemotedUserTask to retain viewer keys and adds coverage for viewer create + guest reject. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * Tighten apiKeys test assertions and broaden viewer coverage - Use not.toBeNull() instead of toBeTruthy() for retention check - Add viewer coverage for apiKeys.list and apiKeys.delete Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>