feat: update permissions and navigation group names for consistency in ShieldSeeder and AdminPanelProvider

This commit is contained in:
Yoga Pangestu 2026-02-24 14:13:33 +07:00
parent efe52fe909
commit 7413584bba
2 changed files with 25 additions and 13 deletions

View File

@ -62,7 +62,7 @@ public function panel(Panel $panel): Panel
->plugins([
FilamentShieldPlugin::make()
->navigationSort(999)
->globallySearchable(false),
->navigationGroup('Pelindung'),
AuthUIEnhancerPlugin::make()
->formPanelPosition('left'),

View File

@ -28,17 +28,17 @@ public function run(): void
"View:RevenueExpenseChart",
"View:TopCustomersChart",
"ViewAny:Chcicken",
"View:Chcicken",
"Create:Chcicken",
"Update:Chcicken",
"Delete:Chcicken",
"Restore:Chcicken",
"ForceDelete:Chcicken",
"ForceDeleteAny:Chcicken",
"RestoreAny:Chcicken",
"Replicate:Chcicken",
"Reorder:Chcicken",
"ViewAny:Chicken",
"View:Chicken",
"Create:Chicken",
"Update:Chicken",
"Delete:Chicken",
"Restore:Chicken",
"ForceDelete:Chicken",
"ForceDeleteAny:Chicken",
"RestoreAny:Chicken",
"Replicate:Chicken",
"Reorder:Chicken",
"ViewAny:Customer",
"View:Customer",
@ -170,7 +170,19 @@ public function run(): void
"ForceDeleteAny:User",
"RestoreAny:User",
"Replicate:User",
"Reorder:User"
"Reorder:User",
"ViewAny:Role",
"View:Role",
"Create:Role",
"Update:Role",
"Delete:Role",
"Restore:Role",
"ForceDelete:Role",
"ForceDeleteAny:Role",
"RestoreAny:Role",
"Replicate:Role",
"Reorder:Role"
]
},
{