wip auth
This commit is contained in:
1 parent
5503dc7ba0
commit
62a2e1710a
2 files changed
+2
-2
No files matched your search
-2
@@ -16,8 +16,6 @@ class StatistikoDetailResource extends Resource
|
|||||||
{
|
{
|
||||||
protected static ?string $model = StatistikoDetail::class;
|
protected static ?string $model = StatistikoDetail::class;
|
||||||
|
|
||||||
protected static bool $shouldSkipAuthorization = true;
|
|
||||||
|
|
||||||
protected static bool $shouldRegisterNavigation = true;
|
protected static bool $shouldRegisterNavigation = true;
|
||||||
|
|
||||||
protected static ?string $navigationLabel = 'Details';
|
protected static ?string $navigationLabel = 'Details';
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
namespace App\Providers;
|
namespace App\Providers;
|
||||||
|
|
||||||
use App\Filament\Resources\Events\Pages\ListEvents;
|
use App\Filament\Resources\Events\Pages\ListEvents;
|
||||||
|
use BezhanSalleh\FilamentShield\Facades\FilamentShield;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
use Filament\Support\Assets\Css;
|
use Filament\Support\Assets\Css;
|
||||||
use Filament\Support\Assets\Js;
|
use Filament\Support\Assets\Js;
|
||||||
@@ -32,6 +33,7 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
|
FilamentShield::enforcePolicies();
|
||||||
|
|
||||||
FilamentTimezone::set('Europe/Vienna');
|
FilamentTimezone::set('Europe/Vienna');
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user