fix:AdminProspectMenuSeeder에서 required_roles 컬럼 제거
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ public function run(): void
|
||||
return;
|
||||
}
|
||||
|
||||
// 메뉴 생성
|
||||
// 메뉴 생성 (권한 체크는 컨트롤러에서 처리)
|
||||
Menu::create([
|
||||
'tenant_id' => $tenantId,
|
||||
'parent_id' => $salesParentId,
|
||||
@@ -54,7 +54,6 @@ public function run(): void
|
||||
'icon' => 'users',
|
||||
'sort_order' => $sortOrder,
|
||||
'is_active' => true,
|
||||
'required_roles' => json_encode(['admin', 'super_admin']), // 관리자만 접근 가능
|
||||
]);
|
||||
|
||||
$this->command->info('영업파트너 고객관리 메뉴 생성 완료 (sort_order: ' . $sortOrder . ')');
|
||||
|
||||
Reference in New Issue
Block a user