feat: Implement initial agent integration management system with role-based dashboards, status tracking, and activity timelines.
This commit is contained in:
@@ -38,10 +38,10 @@ class RolesAndPermissionsSeeder extends Seeder
|
||||
'export reports',
|
||||
]);
|
||||
|
||||
$services = ['DSI', 'Batiment', 'ParcAuto'];
|
||||
$services = ['DSI', 'Batiment', 'Parc Auto'];
|
||||
foreach ($services as $service) {
|
||||
Role::firstOrCreate(['name' => $service])->givePermissionTo([
|
||||
'manage ' . strtolower($service === 'ParcAuto' ? 'parc auto' : $service) . ' tasks',
|
||||
'manage ' . strtolower($service) . ' tasks',
|
||||
'view dashboard',
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user