mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
## Summary Prevent read-only API keys from being created without scopes, which previously granted them unscoped access. This was already enforced for Api keys created via the UI. The fix enforces a mandatory 'global:read' scope for read-only keys at the model and API levels, and includes a migration to revoke existing invalid keys. ## Source - Patch Triage: https://patch.discourse.org/patch-triage/1192 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| migrate | ||
| post_migrate | ||
| api_test_seeds.rb | ||
| structure.sql | ||