Hide create event

How we could hide the create event item in the menu if we don’t have the permission and the cretaion is ristricted to users/group
thanks

Every category has an “Event creators” setting. As for hiding the “global” “Add event” option, that can be done with template customization.

To be more exact, you’d have to override the events/management/_create_event_button.html template and override the create_event_button macro to only return something if the user has access to create events in the given category: category.can_create_events(session.user)