About-4Geeks-Academy icon indicating copy to clipboard operation
About-4Geeks-Academy copied to clipboard

Dev site shows users events not included in their event type on dashboard

Open christadkelly opened this issue 3 months ago • 1 comments

Bug description

Users can see all active events on the side bar of their dashboard, instead of just the events of the types included in their description

Steps to reproduce

Created new user on dev site. On backend: modified the created user's consumables (service-item = join-workshops) so that the event type set was 3 (python only), which should only allow access to events with the types Python Nivel 2, Python para principantes, Python Level 2 workshop, or Python Beginner Workshop. On frontend: navigate to dashboard and look at the Learn LIVE panel on the right. All active events appear, regardless of event type and the user's event type set.

Below is an image of the user's dashboard with the events. The details for the circled event are visible in the network view.

image

Expected behavior

Events not included in the user's event type set should not appear on their dashboard.

Anything else?

Even though the events appear the user is still not able to register for them.

christadkelly avatar Mar 18 '24 22:03 christadkelly