Update interface to begin change to seperate account API keys and application keys
Main difference is permissions, cleaner UI for normal users, and account keys use permissions assigned to servers and subusers while application keys use R/W ACLs stored in the key table.
This commit is contained in:
parent
28ebd18f57
commit
f9fc3f4370
18 changed files with 312 additions and 298 deletions
|
@ -32,12 +32,12 @@ Route::group(['prefix' => 'account'], function () {
|
|||
|
|
||||
*/
|
||||
Route::group(['prefix' => 'account/api'], function () {
|
||||
Route::get('/', 'APIController@index')->name('account.api');
|
||||
Route::get('/new', 'APIController@create')->name('account.api.new');
|
||||
Route::get('/', 'AccountKeyController@index')->name('account.api');
|
||||
Route::get('/new', 'AccountKeyController@create')->name('account.api.new');
|
||||
|
||||
Route::post('/new', 'APIController@store');
|
||||
Route::post('/new', 'AccountKeyController@store');
|
||||
|
||||
Route::delete('/revoke/{key}', 'APIController@revoke')->name('account.api.revoke');
|
||||
Route::delete('/revoke/{identifier}', 'AccountKeyController@revoke')->name('account.api.revoke');
|
||||
});
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue