Let’s say you want to change the permissions on your site so that Editors can edit and publish posts to your blog, but not to the events that are published using The Events Calendar plugin.
In general, events follow the same user roles and permissions as any other default post in WordPress. If you remove editing and publishing permissions for Editors in posts, the same will be true in events.
What to do?
Setting permissions for events
We’ve greatly expanded the types of capabilities that are available for events that allow you to customize permissions for events without interfering with the permissions of other post types. Here’s the catch, though: you will need a third-party plugin to activate and assign them to specific user roles. We recommend the User Role Editor plugin if you’re looking for one.
Once you’ve installed and activated the User Role Editor plugin, head over to Users → Roles → Editor from the WordPress dashboard. You should see the following permissions:
edit_tribe_event
edit_tribe_events
read_tribe_venue
read_tribe_event
read_tribe_organizer
You can probably gather what these mean just by the titles, but they are the permissions to edit and read events, venues, and organizers. Uncheck these options, and your Editor role will no longer have the ability to read or edit these posts and taxonomies. Or, just uncheck the options for venues and organizers and your Editors will be able to read and edit events but not venues and organizers. Total control!
Wash, rinse, and repeat for other user roles, including custom roles you may have created.
Full list of capabilities
If you’re wondering just how many capabilities are available for user roles managing content in The Events Calendar, here is a comprehensive list of everything at your fingertips.
Events capabilities
edit_tribe_event
read_tribe_event
delete_tribe_event
delete_tribe_events
edit_tribe_events
edit_others_tribe_events
delete_others_tribe_events
publish_tribe_events
edit_published_tribe_events
delete_published_tribe_events
delete_private_tribe_events
edit_private_tribe_events
read_private_tribe_events
Venues capabilities
edit_tribe_venue
read_tribe_venue
delete_tribe_venue
delete_tribe_venues
edit_tribe_venues
edit_others_tribe_venues
delete_others_tribe_venues
publish_tribe_venues
edit_published_tribe_venues
delete_published_tribe_venues
delete_private_tribe_venues
edit_private_tribe_venues
read_private_tribe_venues
Organizers capabilities
edit_tribe_organizer
read_tribe_organizer
delete_tribe_organizer
delete_tribe_organizers
edit_tribe_organizers
edit_others_tribe_organizers
delete_others_tribe_organizers
publish_tribe_organizers
edit_published_tribe_organizers
delete_published_tribe_organizers
delete_private_tribe_organizers
edit_private_tribe_organizers
read_private_tribe_organizers
Ticket capabilities
The following are permissions used in our ticketing plugins and add-ons.
Permission | What it Does | Plugin |
---|---|---|
edit_event_tickets | Provides access to the Classic Editor metabox for tickets. | Event Tickets Community Tickets |
tribe_manage_attendees | Provides access to see attendee data for events, including attendees who have opted out of public display and attendees who are in the process of completing a ticket purchase. | Event Tickets |
sell_event_tickets | Provides access to sell a ticket when submitting an event to the calendar via the Community Events submission form. This can be overridden to provide access to all users in the Community Tickets add-on settings. | Community Tickets |
Zoom capabilities
Zoom link creation can be added using the manage_options
capability. You can filter this capability using: tribe_events_virtual_zoom_admin_ajax_capability
to another capability.