From T328032#8936008:
- We need to make sure that organizers are aware of the consequences of changing the end date to be in the past (data aggregated immediately, no longer possible to โreopenโ the event), even if it happens by mistake. This might be explained in the EditEventRegistration form.
- We will add an error message to use when the organizer tries to change the end date of an event that has already ended. This will be shown upon form submission.
User Story
As an event organizer, I need to be aware of the implications when attempting to change the end date of an event that is on going to a date in the past. This change would trigger immediate data aggregation and prevent the event from being reopened, which could lead to inadvertent data misuse or potential data loss.
Background
This restriction prevents organizers from being able to move the end date back and forth to view the aggregated data, and potentially infer individualized data from it. For instance, if there are 20 participants, you could change the end date to be in the past, take note of the aggregated data, and set the end date in the future again. When a new person registers, you could repeat the same trick and infer their answers from the differences in aggregated data. This restriction will be explained to the organizers.
Acceptance criteria:
Note that the "past" and "future" are in relation to the current time (not the event time).
- Given that I am an organizer,
- and my event is ongoing or yet to begin,
- and I am on the edit event page,
- and if I try to change the end date to an event to a past date
- I will see a message that warns me of what will happen, which reads:
- "If you change the end date to a past date, the event will be closed and you will receive a summary of participant responses. This action cannot be undone. This is only applicable if participants have provided answers to the participant questions."
- I will see a message that warns me of what will happen, which reads:
- And if I proceed to make the change,
- then a change to the dates can be made,
- and the "response statistics" tab should be shown
- then a change to the dates can be made,
- Given that I am an organizer,
- and my event has ended,
- and my event has participant responses,
- and I am on the edit event page,
- I see a notice below the end date field which reads "The event has ended, so you cannot change the event dates to future dates. This restriction protects participant data."
- If I try change my event dates to a past date,
- the action is permitted
- Future dates must be disabled in the calendar date picker
- If I try change my event dates to a future date by manually typing the time and submit the form
- Alongside the notice mentioned above, I see an error message informing me that the chosen time is after the latest allowed time
- and I am not allowed to make the change.
- If I try change my event dates to a past date,
- and my event has ended,
Additional Notes from Original AC:
- Organisers would be informed of the consequences of changing the end date of an event that is ongoing or is yet to begin to a date in the past.
- This restriction only applies to scenarios in which participants have provided answers to participant questions for an event.
- The text for the first message below should be shown even if there are no participants or no answers for the event.
- The text for the messages should read:
- "If you change the end date to a past date, the event will be closed and you will receive a summary of participant responses. This action cannot be undone. This is only applicable if participants have provided answers to the participant questions."
- "Past event dates cannot be changed to future dates to protect participant data."
- Organizers can change the start and end date of an event to be a date in the past after the event ends, but they cannot change it to be a date in the future after the event ends
Design
Design specs