Skip to content

Commit

Permalink
[feature/InhaBas#323] 누락된 권한 추가설정
Browse files Browse the repository at this point in the history
  • Loading branch information
whitem4rk committed Jun 30, 2024
1 parent 2a97f5e commit 86625c9
Showing 1 changed file with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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)),
Expand All @@ -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)),
Expand Down Expand Up @@ -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)),
// 스터디
Expand Down Expand Up @@ -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)),
Expand Down

0 comments on commit 86625c9

Please sign in to comment.