diff --git a/VERSION b/VERSION index 97bceaa..d941c12 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.14 \ No newline at end of file +1.0.16 \ No newline at end of file diff --git a/src/config/menu.config.ts b/src/config/menu.config.ts index ff8c83b..5797130 100644 --- a/src/config/menu.config.ts +++ b/src/config/menu.config.ts @@ -34,6 +34,7 @@ export const menuConfig: MenuGroup[] = [ id: 'whisky-tasting-menu', label: '위스키/테이스팅 태그', icon: Wine, + roles: ['ROOT_ADMIN'], children: [ { id: 'whisky-management', @@ -72,6 +73,7 @@ export const menuConfig: MenuGroup[] = [ id: 'banner-management', label: '배너 관리', icon: Image, + roles: ['ROOT_ADMIN'], children: [ { id: 'banner-create', @@ -96,6 +98,7 @@ export const menuConfig: MenuGroup[] = [ id: 'inquiry-management', label: '문의 관리', icon: MessageSquare, + roles: ['ROOT_ADMIN'], children: [ { id: 'inquiry-list', @@ -115,6 +118,7 @@ export const menuConfig: MenuGroup[] = [ label: '정책/방침 관리', icon: FileText, path: '/policies', + roles: ['ROOT_ADMIN'], }, ], }, diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 41fdcf1..f5ca663 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -51,27 +51,79 @@ export function AppRoutes() { {/* Dashboard */} } /> - {/* Whisky */} - - } /> - } /> - + {/* Whisky - ROOT_ADMIN only */} + + + + } + /> + + + + } + /> - {/* Tasting Tags */} - } /> + {/* Tasting Tags - ROOT_ADMIN only */} + + + + } + /> - {/* Banners */} - - } /> - } /> - } /> - + {/* Banners - ROOT_ADMIN only */} + + + + } + /> + + + + } + /> + + + + } + /> - {/* Inquiries */} - } /> + {/* Inquiries - ROOT_ADMIN only */} + + + + } + /> - {/* Policies */} - } /> + {/* Policies - ROOT_ADMIN only */} + + + + } + /> {/* Users - ROOT_ADMIN only */}