feat(monitoring): add pulse

- Added a new gate called `viewPulse` in the `AuthServiceProvider` class.
- The gate allows only admin users to view the Pulse feature.
This commit is contained in:
Rico van Zelst
2023-12-01 21:49:26 +01:00
parent 6c2deaa953
commit 2374a39c77
12 changed files with 796 additions and 264 deletions

View File

@@ -52,3 +52,8 @@ Route::get('/assets', [
AssetsController::class,
'index'
])->name('assets.index');
Route::get(config('app.login_route'), function () {
return redirect('/pulse');
})->name('login')->middleware('auth.basic');