fix: address final review of event invitations
Mask invite, check-in and registration-link tokens in gateway logs. Audit the attended flag only when it really changes. Drop a salesperson who left the event team from invite registrations. Answer 404 for check-in by guest on a disabled event. Deployment notes and the release-check record updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
c4183facf6
commit
2af360c775
12 files changed
+74
-11
No files matched your search
@@ -42,6 +42,16 @@ class LogRedactorTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("path: invite and check-in tokens are masked, unrelated paths kept")
|
||||
void pathEventTokensMasked() {
|
||||
String token = "AbCdEfGhIjKlMnOpQrSt-_";
|
||||
assertThat(LogRedactor.path("/counter/eventGuest/findByToken/" + token)).isEqualTo("/counter/eventGuest/findByToken/***");
|
||||
assertThat(LogRedactor.path("/counter/checkin/findEvent/" + token)).isEqualTo("/counter/checkin/findEvent/***");
|
||||
assertThat(LogRedactor.path("/counter/registrationLink/findByToken/" + token)).isEqualTo("/counter/registrationLink/findByToken/***");
|
||||
assertThat(LogRedactor.path("/counter/event/findByUuid/123")).isEqualTo("/counter/event/findByUuid/123");
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("path: JWT-shaped segments are masked, other segments kept")
|
||||
void pathJwtMasked() {
|
||||
|
||||
Reference in new issue
Block a user