feat: [메뉴] 글로벌 메뉴 관리 기능 구현 (슈퍼관리자 전용)

- 글로벌 메뉴 CRUD API 및 라우트 추가 (GlobalMenuController)
- 글로벌 메뉴 목록/생성/수정 뷰 추가 (보라색 테마)
- MenuService에 글로벌 메뉴 관련 메서드 11개 추가
- 메뉴 관리 페이지에 '글로벌 메뉴 관리' 버튼 추가
- 가져오기 모드에서 이미 가져온 메뉴 비활성화 표시
- super.admin 미들웨어로 접근 제어
This commit is contained in:
2025-12-02 21:41:15 +09:00
parent 7bba5e71a6
commit 5db21095f3
12 changed files with 1458 additions and 39 deletions

View File

@@ -82,6 +82,11 @@
Route::get('/', [MenuController::class, 'index'])->name('index');
Route::get('/create', [MenuController::class, 'create'])->name('create');
Route::get('/{id}/edit', [MenuController::class, 'edit'])->name('edit');
// 글로벌 메뉴 관리 (슈퍼관리자 전용)
Route::get('/global', [MenuController::class, 'globalIndex'])->name('global.index');
Route::get('/global/create', [MenuController::class, 'globalCreate'])->name('global.create');
Route::get('/global/{id}/edit', [MenuController::class, 'globalEdit'])->name('global.edit');
});
// 권한 관리 (Blade 화면만)