Page MenuHomePhabricator

Investigate how to allow organizers to restrict participants from re-registering
Open, Needs TriagePublic

Description

Background: Right now, an organizer can remove a username from the participant list. However, the removed user can simply go ahead and just add themselves again. In some cases, this may be okay. In other cases, the organizer may not want the participant to have the option to add themselves again for trust & safety reasons. For this reason, we should create the option for the organizer to prevent users from re-registering for the event after they have been removed from the participant list. If this is the case, the user would not see a 'Register' button when they go on the event page when logged in to their account.

Acceptance Criteria:

  • Investigate how to allow organizers to restrict participants from re-registering after they have been removed

Event Timeline

I was thinking, and since we want to hard delete participants instead of soft delete (which is the current behavior), we could use the current column we have in the DB for the soft delete (cep_unregistered_at), to add this feature.
The changes would be:

  • When a participant unregister, we remove (hard delete) the participant from the DB
  • When an organizer removes a participant, and tick a checkbox (or click on a button) saying that the participant can not register again, we save the removed date in the column cep_unregistered_at
  • When an organizer removes a participant without saying that the participant can not register again, we remove the participant (hard delete), this way the participant can register again.
  • When a participant tries to register, we check if she/he was removed from the event by the organizer by checking the column cep_unregistered_at, if yes we do not allow the user to register again (should we inform the user that she/her can not register again?).

What do you think @Daimona, @MHorsey-WMF, @ifried ?

cmelo removed cmelo as the assignee of this task.

I don't think we need a checkbox? I think removing the participant implies that they shouldn't be able to register again.

I don't think we need a checkbox? I think removing the participant implies that they shouldn't be able to register again.

Yes, It makes sense, the option with the checkbox would be only for edge cases like:

  • The participant asks the organizer to be removed because he will not be able to attend, and then the user decides to register again.

I can't think of other edge cases, but maybe there are others.

One quick note: We may want to change from soft delete to hard delete, but no final decision has been made yet.

One quick note: We may want to change from soft delete to hard delete, but no final decision has been made yet.

Ok, thank you!!!

I don't think we need a checkbox? I think removing the participant implies that they shouldn't be able to register again.

Yes, It makes sense, the option with the checkbox would be only for edge cases like:

  • The participant asks the organizer to be removed because he will not be able to attend, and then the user decides to register again.

I can't think of other edge cases, but maybe there are others.

I agree, and perhaps we may even consider making this ban reversible.