From 2eb99fa9c7e798396af84d1c12e5503521be7d87 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Fri, 5 Dec 2025 09:46:23 +0700 Subject: [PATCH] feat(seeder): add 'Administrator' and 'Perusahaan' role --- database/seeders/ShieldSeeder.php | 89 +++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/database/seeders/ShieldSeeder.php b/database/seeders/ShieldSeeder.php index 7944c69..3f296ab 100644 --- a/database/seeders/ShieldSeeder.php +++ b/database/seeders/ShieldSeeder.php @@ -107,6 +107,95 @@ public function run(): void "Replicate:User", "Reorder:User" ] + }, + { + "name": "Administrator", + "guard_name": "web", + "permissions": [ + "ViewAny:AiringProofTheme", + "View:AiringProofTheme", + "Create:AiringProofTheme", + "Update:AiringProofTheme", + "Delete:AiringProofTheme", + "Restore:AiringProofTheme", + "ForceDelete:AiringProofTheme", + "ForceDeleteAny:AiringProofTheme", + "RestoreAny:AiringProofTheme", + "Replicate:AiringProofTheme", + "Reorder:AiringProofTheme", + "ViewAny:Classification", + "View:Classification", + "Create:Classification", + "Update:Classification", + "Delete:Classification", + "Restore:Classification", + "ForceDelete:Classification", + "ForceDeleteAny:Classification", + "RestoreAny:Classification", + "Replicate:Classification", + "Reorder:Classification", + "ViewAny:Department", + "View:Department", + "Create:Department", + "Update:Department", + "Delete:Department", + "Restore:Department", + "ForceDelete:Department", + "ForceDeleteAny:Department", + "RestoreAny:Department", + "Replicate:Department", + "Reorder:Department", + "ViewAny:Location", + "View:Location", + "Create:Location", + "Update:Location", + "Delete:Location", + "Restore:Location", + "ForceDelete:Location", + "ForceDeleteAny:Location", + "RestoreAny:Location", + "Replicate:Location", + "Reorder:Location", + "ViewAny:SubClassification", + "View:SubClassification", + "Create:SubClassification", + "Update:SubClassification", + "Delete:SubClassification", + "Restore:SubClassification", + "ForceDelete:SubClassification", + "ForceDeleteAny:SubClassification", + "RestoreAny:SubClassification", + "Replicate:SubClassification", + "Reorder:SubClassification", + "ViewAny:SubLocation", + "View:SubLocation", + "Create:SubLocation", + "Update:SubLocation", + "Delete:SubLocation", + "Restore:SubLocation", + "ForceDelete:SubLocation", + "ForceDeleteAny:SubLocation", + "RestoreAny:SubLocation", + "Replicate:SubLocation", + "Reorder:SubLocation", + "ViewAny:User", + "View:User", + "Create:User", + "Update:User", + "Delete:User", + "Restore:User", + "ForceDelete:User", + "ForceDeleteAny:User", + "RestoreAny:User", + "Replicate:User", + "Reorder:User" + ] + }, + { + "name": "Perusahaan", + "guard_name": "web", + "permissions": [ + ] } ] JSON;