feat: remove restore and force delete permissions for various entities in ShieldSeeder

This commit is contained in:
Yoga Pangestu 2026-02-24 14:29:19 +07:00
parent d3fe3dbb49
commit 2539d1f3f8

View File

@ -188,10 +188,6 @@ public function run(): void
"Create:Chicken", "Create:Chicken",
"Update:Chicken", "Update:Chicken",
"Delete:Chicken", "Delete:Chicken",
"Restore:Chicken",
"ForceDelete:Chicken",
"ForceDeleteAny:Chicken",
"RestoreAny:Chicken",
"Replicate:Chicken", "Replicate:Chicken",
"Reorder:Chicken", "Reorder:Chicken",
@ -200,10 +196,6 @@ public function run(): void
"Create:Customer", "Create:Customer",
"Update:Customer", "Update:Customer",
"Delete:Customer", "Delete:Customer",
"Restore:Customer",
"ForceDelete:Customer",
"ForceDeleteAny:Customer",
"RestoreAny:Customer",
"Replicate:Customer", "Replicate:Customer",
"Reorder:Customer", "Reorder:Customer",
@ -212,10 +204,6 @@ public function run(): void
"Create:DelayedGood", "Create:DelayedGood",
"Update:DelayedGood", "Update:DelayedGood",
"Delete:DelayedGood", "Delete:DelayedGood",
"Restore:DelayedGood",
"ForceDelete:DelayedGood",
"ForceDeleteAny:DelayedGood",
"RestoreAny:DelayedGood",
"Replicate:DelayedGood", "Replicate:DelayedGood",
"Reorder:DelayedGood", "Reorder:DelayedGood",
@ -224,10 +212,6 @@ public function run(): void
"Create:EggCollection", "Create:EggCollection",
"Update:EggCollection", "Update:EggCollection",
"Delete:EggCollection", "Delete:EggCollection",
"Restore:EggCollection",
"ForceDelete:EggCollection",
"ForceDeleteAny:EggCollection",
"RestoreAny:EggCollection",
"Replicate:EggCollection", "Replicate:EggCollection",
"Reorder:EggCollection", "Reorder:EggCollection",
@ -236,10 +220,6 @@ public function run(): void
"Create:EggPrice", "Create:EggPrice",
"Update:EggPrice", "Update:EggPrice",
"Delete:EggPrice", "Delete:EggPrice",
"Restore:EggPrice",
"ForceDelete:EggPrice",
"ForceDeleteAny:EggPrice",
"RestoreAny:EggPrice",
"Replicate:EggPrice", "Replicate:EggPrice",
"Reorder:EggPrice", "Reorder:EggPrice",
@ -248,10 +228,6 @@ public function run(): void
"Create:Expense", "Create:Expense",
"Update:Expense", "Update:Expense",
"Delete:Expense", "Delete:Expense",
"Restore:Expense",
"ForceDelete:Expense",
"ForceDeleteAny:Expense",
"RestoreAny:Expense",
"Replicate:Expense", "Replicate:Expense",
"Reorder:Expense", "Reorder:Expense",
@ -260,10 +236,6 @@ public function run(): void
"Create:Feed", "Create:Feed",
"Update:Feed", "Update:Feed",
"Delete:Feed", "Delete:Feed",
"Restore:Feed",
"ForceDelete:Feed",
"ForceDeleteAny:Feed",
"RestoreAny:Feed",
"Replicate:Feed", "Replicate:Feed",
"Reorder:Feed", "Reorder:Feed",
@ -272,10 +244,6 @@ public function run(): void
"Create:FeedPurchase", "Create:FeedPurchase",
"Update:FeedPurchase", "Update:FeedPurchase",
"Delete:FeedPurchase", "Delete:FeedPurchase",
"Restore:FeedPurchase",
"ForceDelete:FeedPurchase",
"ForceDeleteAny:FeedPurchase",
"RestoreAny:FeedPurchase",
"Replicate:FeedPurchase", "Replicate:FeedPurchase",
"Reorder:FeedPurchase", "Reorder:FeedPurchase",
@ -284,10 +252,6 @@ public function run(): void
"Create:Order", "Create:Order",
"Update:Order", "Update:Order",
"Delete:Order", "Delete:Order",
"Restore:Order",
"ForceDelete:Order",
"ForceDeleteAny:Order",
"RestoreAny:Order",
"Replicate:Order", "Replicate:Order",
"Reorder:Order", "Reorder:Order",
@ -296,10 +260,6 @@ public function run(): void
"Create:Unit", "Create:Unit",
"Update:Unit", "Update:Unit",
"Delete:Unit", "Delete:Unit",
"Restore:Unit",
"ForceDelete:Unit",
"ForceDeleteAny:Unit",
"RestoreAny:Unit",
"Replicate:Unit", "Replicate:Unit",
"Reorder:Unit", "Reorder:Unit",
@ -308,10 +268,6 @@ public function run(): void
"Create:User", "Create:User",
"Update:User", "Update:User",
"Delete:User", "Delete:User",
"Restore:User",
"ForceDelete:User",
"ForceDeleteAny:User",
"RestoreAny:User",
"Replicate:User", "Replicate:User",
"Reorder:User" "Reorder:User"
] ]