To apply categories to events go to the Registration details page and click on the tab Reg.items, see image below. Now click the button Items settings.
A new screen opens, click the Categories settings button. Check/uncheck the box for the visibility of the event for the above category.
Note: When a participant does not have a category, all events will be visible to this participant.