Allow registrants to withdraw their registration#4585
Allow registrants to withdraw their registration#4585ThiefMaster merged 4 commits intoindico:masterfrom
Conversation
3807924 to
1bfa6d0
Compare
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
|
How does it currently work for events where the registration feature is used solely for participants, i.e. the registration was never open/scheduled and no modification is allowed (and the event's type is not I think in such a case it doesn't make much sense to allow withdrawing, especially since you'd only be able to get there by using the url to the registrations directly (in case of a meeting)... |
2d7ad63 to
5c67206
Compare
Same as with conferences. If the registration is not paid and it's before the end of the event, the withdraw button will be visible. Modifications being allowed and regform being open/scheduled are not taken into account to allow or disallow withdrawals.
I would not disallow this. Someone may want to update their RSVP to a meeting after having accepted an invitation. |
|
I was more thinking about cases like our weekly meeting where we added everyone as participants but do not use the user-facing registration module at all. People withdrawing there would also mess up clones of the event where they'd be withdrawn from the beginning... |
|
While testing, I found that inviting existing Indico users to a registration is currently broken. This may be due to recent changes in |
This sounds very specific to you workflow and this makes me think that perhaps it should be configurable. I would apply the same logic as for hiding/showing the "Modify" button and let managers configure until when withdrawals will be allowed with "modification deadline". Hard-coding end-of-event as last possible moment to withdraw is currently not documented and conference managers will have no way to control corner cases like the one you are describing. Let me know what you think. If you agree I will change the logic. |
|
I cherrypicked the invitation fix into master.
No, this bug was introduced in 2.3, so it's not part of any released version.
The way the field is configured, it only returns |
It's actually the vast majority for meetings (event type 2). People add participants (like they did with the legacy "participants" feature in 1.x) but do not use any actual registration features. We could add a new column to control the withdrawal mode and set a reasonable default depending on the event type (not allowed for meetings, allowed for the other event types). |
5c67206 to
fdc3a34
Compare
Isn't this already the case for allowing modifications and modification deadline? Modifications are enabled by default in conferences and disabled by default in lectures and meetings. Then, it's unlikely that conference organizers expect registrants to withdraw when there is a modification deadline date, so we can also use In the end, I've gone for the following logic: @property
def can_be_withdrawn(self):
from indico.modules.events.registration.models.forms import ModificationMode
if self.is_paid:
return False
elif self.event.end_dt < now_utc():
return False
elif self.registration_form.modification_mode == ModificationMode.not_allowed:
return False
elif (self.registration_form.modification_end_dt < now_utc()
if self.registration_form.modification_end_dt else False):
return False
else:
return True |
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
indico/modules/events/registration/templates/display/registration_summary.html
Outdated
Show resolved
Hide resolved
7cf145d to
97689bf
Compare
97689bf to
8a13271
Compare
8a13271 to
e3b756a
Compare
Closes: #2715
Supersedes and thus closes: #4166
Replying to @ThiefMaster's comment on the superseded PR:
The logic I have applied to allow withdrawals:
Regarding allowing managers to undo withdrawals, this is now possible via the "Reset registration" button in the registration management view.
Screenshots