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

Allow registration access in restricted events if they have registrants in the ACL #4528

Closed
ThiefMaster opened this issue Jul 10, 2020 · 0 comments · Fixed by #4537
Closed
Assignees
Projects
Milestone

Comments

@ThiefMaster
Copy link
Member

This is a follow-up on #2460 and #4477.

When accessing an event where the usual access check fails but the ACL contains registration forms, then redirect to that form (if it's exactly one) or the list of available registration forms (if more than one), and show a message there indicating that the event is restricted to registered participants.

Some important points:

  • Events may have a custom logo/css; those endpoints need to skip the usual event can_access check if the ACL contains any regform (I would suggest adding a new method/property on Event that checks for this)
  • We need to make sure the event header does not show too much information (no filter button in the header for example, since that would reveal the list of sessions/contributions)
  • No conference menu should be shown or if we do show it, only the registration item should be visible (this would most likely require adding event.can_access checks to all the other menu items' visibility functions). Always using the meeting layout could be an option as well, but maybe not what event organizers expect
@ThiefMaster ThiefMaster added this to To do in Release 2.3 via automation Jul 13, 2020
@ThiefMaster ThiefMaster added this to the v2.3 milestone Jul 13, 2020
@Leats Leats self-assigned this Jul 13, 2020
@Leats Leats moved this from To do to In progress in Release 2.3 Jul 13, 2020
@Leats Leats moved this from In progress to Review in progress in Release 2.3 Jul 17, 2020
Release 2.3 automation moved this from Review in progress to Done Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Release 2.3
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants