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([ ->plugins([
FilamentShieldPlugin::make() FilamentShieldPlugin::make()
->navigationSort(999) ->navigationSort(999)
->globallySearchable(false), ->navigationGroup('Pelindung'),
AuthUIEnhancerPlugin::make() AuthUIEnhancerPlugin::make()
->formPanelPosition('left'), ->formPanelPosition('left'),

View File

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