|
|
@@ -69,6 +69,7 @@ public function handle()
|
|
|
'system_key' => $templateRole->system_key,
|
|
|
'scope_key' => "unit:{$unit->id}",
|
|
|
'slug' => \Illuminate\Support\Str::slug($templateRole->label . '-' . $unit->id),
|
|
|
+ 'label' => $templateRole->label,
|
|
|
'is_system' => false,
|
|
|
'access_scope' => 'unit',
|
|
|
]);
|