4445464748495051525354
if (!ProjectUser.isGuest(project, user)) { return badRequest(); } if (!User.enrolled(project)) { user.enroll(project); NotificationEvent.afterMemberRequest(project, user, RequestState.REQUEST); } return ok(); }