RocketChat / RC4Conferences

A set of scalable components for communities to build, manage, and run virtual conferences of any size.
https://conf.rceng.shop/conferences/c/1
24 stars 38 forks source link

[IMPROVE] Provide an option in Event Create Form to bypasss Role based Access #72

Closed Dnouv closed 1 year ago

Dnouv commented 1 year ago

Few Event Organizers prefer to keep their Speaker page (Greenroom page) open to all. However, currently, we have role-based access checks implemented in the NextJS middleware, which allows only the users with an "Admin" or "Speaker" role to access the Greenroom route for any event. To cater to this feature, we need an extra option in the component handling the creation of events. Currently, two ways are possible:

  1. Any event with the Ticket name "Open" will be open for all.
  2. Add an optional field in the Event Create form for the key privacy in the Event Schema (public for open access and private for role-based access).

Please provide your view on the solution you would prefer before starting to work on this issue. Thank you!