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