Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature/#323] 누락된 권한 추가설정 #328

Merged
merged 1 commit into from
Jun 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading