feat: harden admin auth and ticket workflows
- add rotating admin refresh tokens and password gates\n- expand ticket galleries, exports, and client resources\n- improve IP allocation auditing and dashboard data\n- enforce encrypted client access tokens on public routes
This commit is contained in:
@@ -102,6 +102,7 @@ Route::prefix('ip-pool')
|
||||
->controller(IpPoolController::class)
|
||||
->group(function () {
|
||||
Route::get('networks', 'networks')->middleware('perm:module-vcenter.view');
|
||||
Route::get('dashboard', 'dashboard')->middleware('perm:module-vcenter.view');
|
||||
Route::get('used-services', 'usedServices')->middleware('perm:module-vcenter.view');
|
||||
Route::get('/', 'index')->middleware('perm:module-vcenter.view');
|
||||
Route::post('/', 'store')->middleware('perm:module-vcenter.manager');
|
||||
@@ -114,6 +115,7 @@ Route::prefix('ip-pool')
|
||||
Route::post('allocate', 'allocate')->middleware('perm:module-vcenter.manager');
|
||||
Route::post('revocation/preview', 'revocationPreview')->middleware('perm:module-vcenter.manager');
|
||||
Route::post('revoke', 'revoke')->middleware('perm:module-vcenter.manager');
|
||||
Route::get('logs', 'allLogs')->middleware('perm:module-vcenter.view');
|
||||
Route::get('{id}/logs', 'logs')->middleware('perm:module-vcenter.view');
|
||||
Route::get('{id}', 'show')->middleware('perm:module-vcenter.view');
|
||||
Route::put('{id}', 'update')->middleware('perm:module-vcenter.manager');
|
||||
|
||||
Reference in New Issue
Block a user