discourse/app/assets/javascripts/admin/models
Roman Rizzi f13ec11c64
FEATURE: Add scopes to API keys (#9844)
* Added scopes UI

* Create scopes when creating a new API key

* Show scopes on the API key show route

* Apply scopes on API requests

* Extend scopes from plugins

* Add missing scopes. A mapping can be associated with multiple controller actions

* Only send scopes if the use global key option is disabled. Use the discourse plugin registry to add new scopes

* Add not null validations and index for api_key_id

* Annotate model

* DEV: Move default mappings to ApiKeyScope

* Remove unused attribute and improve UI for existing keys

* Support multiple parameters separated by a comma
2020-07-16 15:51:24 -03:00
..
admin-dashboard.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
admin-user.js REFACTOR: Remove Discourse.SiteSettings from user/admin-user 2020-07-15 11:48:55 -04:00
api-key.js FEATURE: Add scopes to API keys (#9844) 2020-07-16 15:51:24 -03:00
backup-status.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
backup.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
color-scheme-color.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
color-scheme.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
email-log.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
email-preview.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
email-settings.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
email-style.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
email-template.js DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
flag-type.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
incoming-email.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
permalink.js FIX: Use 1 column instead of 4 for permalink destination (#9260) 2020-03-25 11:30:39 -07:00
report.js DEV: Move Discourse.getURL and related functions to a module (#9966) 2020-06-03 12:45:26 -04:00
screened-email.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
screened-ip-address.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
screened-url.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
site-setting.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
site-text.js DEV: Use type instead of method in ajax calls (#8974) 2020-03-26 21:00:10 +01:00
staff-action-log.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
theme-settings.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
theme.js Revert "PERF: Move highlightjs to a background worker, and add result cache (#10191)" 2020-07-15 13:52:35 +01:00
tl3-requirements.js PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
user-field.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
version-check.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00
watched-word.js DEV: import I18n instead of global usage (#9768) 2020-05-13 16:23:41 -04:00
web-hook.js Rename .js.es6 to .js in the admin application 2020-03-13 17:03:08 -04:00