From 86625c92d00888f46129dd6e25434272dee79981 Mon Sep 17 00:00:00 2001 From: whitemark Date: Mon, 1 Jul 2024 00:10:41 +0900 Subject: [PATCH] =?UTF-8?q?[feature/#323]=20=EB=88=84=EB=9D=BD=EB=90=9C=20?= =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EC=B6=94=EA=B0=80=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../menu/domain/valueObject/MenuType.java | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/resource-server/src/main/java/com/inhabas/api/domain/menu/domain/valueObject/MenuType.java b/resource-server/src/main/java/com/inhabas/api/domain/menu/domain/valueObject/MenuType.java index 45ecfd00..5f0817e7 100644 --- a/resource-server/src/main/java/com/inhabas/api/domain/menu/domain/valueObject/MenuType.java +++ b/resource-server/src/main/java/com/inhabas/api/domain/menu/domain/valueObject/MenuType.java @@ -1,7 +1,6 @@ package com.inhabas.api.domain.menu.domain.valueObject; import static com.inhabas.api.auth.domain.oauth2.member.domain.valueObject.Role.*; -import static java.util.Arrays.*; import java.util.List; @@ -19,7 +18,7 @@ public enum MenuType { // 동아리 활동 ALBUM( List.of(ANONYMOUS), - List.of(EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), List.of(ANONYMOUS), List.of(DEACTIVATED), List.of(ANONYMOUS)), @@ -29,7 +28,7 @@ public enum MenuType { // 공지사항 NOTICE( List.of(DEACTIVATED), - List.of(EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), List.of(DEACTIVATED), List.of(DEACTIVATED), List.of(DEACTIVATED)), @@ -63,11 +62,11 @@ public enum MenuType { List.of(ANONYMOUS)), // 회장단 게시판 EXECUTIVE( - asList(SECRETARY, EXECUTIVES), - asList(SECRETARY, EXECUTIVES), - asList(SECRETARY, EXECUTIVES), - asList(SECRETARY, EXECUTIVES), - asList(SECRETARY, EXECUTIVES)), + List.of(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES)), // 강의 LECTURE(List.of(BASIC), List.of(BASIC), List.of(BASIC), List.of(BASIC), List.of(BASIC)), // 스터디 @@ -122,21 +121,21 @@ public enum MenuType { // 장학회 SCHOLARSHIP( List.of(ANONYMOUS), - asList(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), List.of(ANONYMOUS), List.of(ADMIN), List.of(ADMIN)), // 후원 내용 SPONSOR( List.of(ANONYMOUS), - asList(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), List.of(ANONYMOUS), List.of(BASIC), List.of(ANONYMOUS)), // 사용 내역 USAGE( List.of(ANONYMOUS), - asList(SECRETARY, EXECUTIVES), + List.of(SECRETARY, EXECUTIVES), List.of(ANONYMOUS), List.of(BASIC), List.of(ANONYMOUS)),