discourse/app/assets/javascripts/admin/adapters
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
..
api-key.js FEATURE: Add scopes to API keys (#9844) 2020-07-16 15:51:24 -03:00
build-plugin.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
customization-base.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
embedding.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
site-text.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
staff-action-log.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
tag-group.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
theme.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
user-field.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
web-hook-event.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00
web-hook.js Rename `.js.es6` to `.js` in the admin application 2020-03-13 17:03:08 -04:00