Refactor: 매니저 권한 변경 허용

This commit is contained in:
김용수 2024-10-04 09:33:18 +09:00
parent 28df0a65db
commit 9cd41b76eb

View File

@ -144,7 +144,7 @@ public class ProjectService {
participantRepository.save(participant);
}
@CheckPrivilege(PrivilegeType.ADMIN)
@CheckPrivilege(PrivilegeType.MANAGER)
public void changeProjectMember(final Integer projectId, final ParticipantRequest participantRequest) {
checkNotAdminParticipant(participantRequest.getMemberId(), projectId);