Skip to content

Commit

Permalink
Configure Filament Shield
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jun 23, 2024
1 parent d758025 commit 6c7a966
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public function panel(Panel $panel): Panel
])
->authMiddleware([
Authenticate::class,
]);
])
->plugins([
\BezhanSalleh\FilamentShield\FilamentShieldPlugin::make()
]);
}
}
3 changes: 3 additions & 0 deletions app/Providers/Filament/AppPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public function panel(Panel $panel): Panel
->tenant(Team::class)
->tenantRegistration(CreateTeam::class)
->tenantProfile(EditTeam::class)
->plugins([
\BezhanSalleh\FilamentShield\FilamentShieldPlugin::make()
]);
->userMenuItems([
MenuItem::make()
->label('Team Settings')
Expand Down

0 comments on commit 6c7a966

Please sign in to comment.