Logo
Explore Help
Sign In
IntenseWebs/discourse
3
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-02-25 18:55:32 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
a9def011d0dca1668bf98a336fb42894ad3b5752
discourse/app/assets/javascripts/admin/routes/admin-api-keys.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
241 B
JavaScript
Raw Normal View History

REFACTOR: Replace `Ember.Route` with proper import
2019-10-23 12:39:32 -04:00
import Route from "@ember/routing/route";
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"" This reverts commit c21457d6a7a369fb52dfd3cd01b3882055c85d62.
2015-11-21 12:27:06 +11:00
REFACTOR: Replace `Ember.Route` with proper import
2019-10-23 12:39:32 -04:00
export default Route.extend({
FEATURE: Overhaul of admin API key system (#8284) - Allow revoking keys without deleting them - Auto-revoke keys after a period of no use (default 6 months) - Allow multiple keys per user - Allow attaching a description to each key, for easier auditing - Log changes to keys in the staff action log - Move all key management to one place, and improve the UI
2019-11-05 14:10:23 +00:00
actions: {
show(apiKey) {
this.transitionTo("adminApiKeys.show", apiKey.id);
},
new() {
this.transitionTo("adminApiKeys.new");
}
Migrate a bunch of admin routes to ES6 modules
2015-08-06 12:14:59 -04:00
}
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 231ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API