Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revoked participants are still redirected to the event live page and can not visit the event info page while the event is live #926

Open
Apfelwurm opened this issue Nov 11, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@Apfelwurm
Copy link
Member

When currently a participant is revoked, the participant will still be redirected to the event live page and is unable to access the event info page after the revokation.

Tested in this case with a staff ticket and an online event, but should also be the case with the other tickets.

&& ($participant->revoked == 0) should be checked everywhere.

This applys for the HomeController in index (and in isActiveParticipant if the big PR is merged)

Also the User models setActiveEventParticipant has to be checked.

Most likeley there are also additional other places, where such checks are nessecary, also the logic should be refactored and centralized.

@Apfelwurm Apfelwurm added bug Something isn't working enhancement New feature or request labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant