mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 16:18:44 +08:00
Currently, if creating an API key in "granular" mode, and not selecting any scopes, a globally scoped API key is created. This can be surprising and is not ideal. Having a key with no scopes isn't useful in the first place, so this PR adds client- and server side validations to check that at least one scope is selected if using "granular" mode. |
||
|---|---|---|
| .. | ||
| about.gjs | ||
| api-keys-list.hbs | ||
| api-keys-new.gjs | ||
| api-keys-show.gjs | ||
| emojis-list.gjs | ||
| emojis-new.gjs | ||
| flags.gjs | ||
| look-and-feel-themes.gjs | ||
| user-fields-list.gjs | ||
| webhooks-form.gjs | ||
| webhooks-list.gjs | ||