added read-only
mode #28nd2px
This commit is contained in:
@ -54,6 +54,7 @@ class Kernel extends HttpKernel
|
||||
'permission:read-api',
|
||||
'company.identify',
|
||||
'bindings',
|
||||
'read.only',
|
||||
'language',
|
||||
'firewall.all',
|
||||
],
|
||||
@ -62,12 +63,14 @@ class Kernel extends HttpKernel
|
||||
'web',
|
||||
'company.identify',
|
||||
'bindings',
|
||||
'read.only',
|
||||
'wizard.redirect',
|
||||
],
|
||||
|
||||
'guest' => [
|
||||
'web',
|
||||
'auth.redirect',
|
||||
'read.only',
|
||||
],
|
||||
|
||||
'admin' => [
|
||||
@ -76,6 +79,7 @@ class Kernel extends HttpKernel
|
||||
'auth.disabled',
|
||||
'company.identify',
|
||||
'bindings',
|
||||
'read.only',
|
||||
'wizard.redirect',
|
||||
'menu.admin',
|
||||
'permission:read-admin-panel',
|
||||
@ -96,6 +100,7 @@ class Kernel extends HttpKernel
|
||||
'auth.disabled',
|
||||
'company.identify',
|
||||
'bindings',
|
||||
'read.only',
|
||||
'menu.portal',
|
||||
'permission:read-client-portal',
|
||||
],
|
||||
@ -109,6 +114,7 @@ class Kernel extends HttpKernel
|
||||
'signature',
|
||||
'company.identify',
|
||||
'bindings',
|
||||
'read.only',
|
||||
'header.x',
|
||||
'language',
|
||||
'firewall.all',
|
||||
@ -157,6 +163,7 @@ class Kernel extends HttpKernel
|
||||
'install.can' => \App\Http\Middleware\CanInstall::class,
|
||||
'install.redirect' => \App\Http\Middleware\RedirectIfNotInstalled::class,
|
||||
'money' => \App\Http\Middleware\Money::class,
|
||||
'read.only' => \App\Http\Middleware\CheckForReadOnlyMode::class,
|
||||
'wizard.redirect' => \App\Http\Middleware\RedirectIfWizardNotCompleted::class,
|
||||
|
||||
// Vendor
|
||||
|
Reference in New Issue
Block a user