{"id":1961214,"date":"2024-07-23T10:56:13","date_gmt":"2024-07-23T14:56:13","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?p=1961214"},"modified":"2024-08-20T11:18:09","modified_gmt":"2024-08-20T15:18:09","slug":"admin-roles-and-permissions-legacy","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/admin-roles-and-permissions-legacy\/","title":{"rendered":"Editing User Roles and Permissions"},"content":{"rendered":"\n<p>Let&#8217;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.<\/p>\n\n<p>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.<\/p>\n\n<p>What to do?<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"permissions\">Setting permissions for events<\/h2>\n\n<p>We&#8217;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&#8217;s the catch, though: you will need a third-party plugin to activate and assign them to specific user roles. We recommend the <a href=\"https:\/\/wordpress.org\/plugins\/user-role-editor\/\" target=\"_blank\" rel=\"noreferrer noopener\">User Role Editor plugin<\/a> if you&#8217;re looking for one.<\/p>\n\n<p>Once you&#8217;ve installed and activated the User Role Editor plugin, head over to <strong>Users \u2192 Roles \u2192 Editor<\/strong> from the WordPress dashboard. You should see the following permissions:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><code>edit_tribe_event<\/code><\/li>\n\n<li><code>edit_tribe_events<\/code><\/li>\n\n<li><code>read_tribe_venue<\/code><\/li>\n\n<li><code>read_tribe_event<\/code><\/li>\n\n<li><code>read_tribe_organizer<\/code><\/li>\n<\/ul>\n\n<p>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!<\/p>\n\n<p>Wash, rinse, and repeat for other user roles, including custom roles you may have created.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"capabilities\">Full list of capabilities<\/h2>\n\n<p>If you&#8217;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.<\/p>\n\n<h3 class=\"wp-block-heading\">Events capabilities<\/h3>\n\n<ul class=\"wp-block-list\">\n<li><code>edit_tribe_event<\/code><\/li>\n\n<li><code>read_tribe_event<\/code><\/li>\n\n<li><code>delete_tribe_event<\/code><\/li>\n\n<li><code>delete_tribe_events<\/code><\/li>\n\n<li><code>edit_tribe_events<\/code><\/li>\n\n<li><code>edit_others_tribe_events<\/code><\/li>\n\n<li><code>delete_others_tribe_events<\/code><\/li>\n\n<li><code>publish_tribe_events<\/code><\/li>\n\n<li><code>edit_published_tribe_events<\/code><\/li>\n\n<li><code>delete_published_tribe_events<\/code><\/li>\n\n<li><code>delete_private_tribe_events<\/code><\/li>\n\n<li><code>edit_private_tribe_events<\/code><\/li>\n\n<li><code>read_private_tribe_events<\/code><\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Venues capabilities<\/h3>\n\n<ul class=\"wp-block-list\">\n<li><code>edit_tribe_venue<\/code><\/li>\n\n<li><code>read_tribe_venue<\/code><\/li>\n\n<li><code>delete_tribe_venue<\/code><\/li>\n\n<li><code>delete_tribe_venues<\/code><\/li>\n\n<li><code>edit_tribe_venues<\/code><\/li>\n\n<li><code>edit_others_tribe_venues<\/code><\/li>\n\n<li><code>delete_others_tribe_venues<\/code><\/li>\n\n<li><code>publish_tribe_venues<\/code><\/li>\n\n<li><code>edit_published_tribe_venues<\/code><\/li>\n\n<li><code>delete_published_tribe_venues<\/code><\/li>\n\n<li><code>delete_private_tribe_venues<\/code><\/li>\n\n<li><code>edit_private_tribe_venues<\/code><\/li>\n\n<li><code>read_private_tribe_venues<\/code><\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Organizers capabilities<\/h3>\n\n<ul class=\"wp-block-list\">\n<li><code>edit_tribe_organizer<\/code><\/li>\n\n<li><code>read_tribe_organizer<\/code><\/li>\n\n<li><code>delete_tribe_organizer<\/code><\/li>\n\n<li><code>delete_tribe_organizers<\/code><\/li>\n\n<li><code>edit_tribe_organizers<\/code><\/li>\n\n<li><code>edit_others_tribe_organizers<\/code><\/li>\n\n<li><code>delete_others_tribe_organizers<\/code><\/li>\n\n<li><code>publish_tribe_organizers<\/code><\/li>\n\n<li><code>edit_published_tribe_organizers<\/code><\/li>\n\n<li><code>delete_published_tribe_organizers<\/code><\/li>\n\n<li><code>delete_private_tribe_organizers<\/code><\/li>\n\n<li><code>edit_private_tribe_organizers<\/code><\/li>\n\n<li><code>read_private_tribe_organizers<\/code><\/li>\n<\/ul>\n\n<h3 class=\"wp-block-heading\">Ticket capabilities<\/h3>\n\n<p>The following are permissions used in our ticketing plugins and add-ons.<\/p>\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Permission<\/th><th>What it Does<\/th><th>Plugin<\/th><\/tr><\/thead><tbody><tr><td><code><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/classes\/tribe__events__community__tickets__main\/user_has_edit_event_tickets_cap\/\" target=\"_blank\" rel=\"noreferrer noopener\">edit_event_tickets<\/a><\/code><\/td><td>Provides access to the Classic Editor metabox for tickets.<\/td><td>Event Tickets<br>Community Tickets<\/td><\/tr><tr><td><code><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/classes\/tribe__tickets__attendees\/user_can_manage_attendees\/\" target=\"_blank\" rel=\"noreferrer noopener\">tribe_manage_attendees<\/a><\/code><\/td><td>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.<\/td><td>Event Tickets<\/td><\/tr><tr><td><code><a href=\"https:\/\/docs.theeventscalendar.com\/reference\/classes\/tribe__events__community__tickets__main\/user_has_sell_event_tickets_cap\/\" target=\"_blank\" rel=\"noreferrer noopener\">sell_event_tickets<\/a><\/code><\/td><td>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<strong> Community Tickets<\/strong> add-on settings.<\/td><td>Community Tickets<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h3 class=\"wp-block-heading\" id=\"h-zoom-capabilities\">Zoom capabilities<\/h3>\n\n<p>Zoom link creation can be added using the <code>manage_options<\/code> capability. You can filter this capability using: <code>tribe_events_virtual_zoom_admin_ajax_capability<\/code> to another capability.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;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&#8230;<\/p>\n","protected":false},"author":46,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":true,"footnotes":""},"categories":[130,97],"tags":[52,95,96],"stellar-product-taxonomy":[155,161],"class_list":["post-1961214","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced-post-manager","category-venues-organizers","tag-organizers","tag-user-account","tag-venues","stellar-product-taxonomy-event-tickets","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":130,"label":"Managing Events"},{"value":97,"label":"Venues &amp; Organizers"}],"post_tag":[{"value":52,"label":"Organizers"},{"value":95,"label":"user account"},{"value":96,"label":"Venues"}],"stellar-product-taxonomy":[{"value":155,"label":"Event Tickets"},{"value":161,"label":"The Events Calendar"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Iris Irvin","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/iris\/"},"comment_info":0,"category_info":[{"term_id":130,"name":"Managing Events","slug":"advanced-post-manager","term_group":0,"term_taxonomy_id":130,"taxonomy":"category","description":"","parent":61,"count":44,"filter":"raw","term_order":"0","cat_ID":130,"category_count":44,"category_description":"","cat_name":"Managing Events","category_nicename":"advanced-post-manager","category_parent":61},{"term_id":97,"name":"Venues &amp; Organizers","slug":"venues-organizers","term_group":0,"term_taxonomy_id":97,"taxonomy":"category","description":"","parent":61,"count":8,"filter":"raw","term_order":"0","cat_ID":97,"category_count":8,"category_description":"","cat_name":"Venues &amp; Organizers","category_nicename":"venues-organizers","category_parent":61}],"tag_info":[{"term_id":52,"name":"Organizers","slug":"organizers","term_group":0,"term_taxonomy_id":52,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw","term_order":"0"},{"term_id":95,"name":"user account","slug":"user-account","term_group":0,"term_taxonomy_id":95,"taxonomy":"post_tag","description":"","parent":0,"count":8,"filter":"raw","term_order":"0"},{"term_id":96,"name":"Venues","slug":"venues","term_group":0,"term_taxonomy_id":96,"taxonomy":"post_tag","description":"","parent":0,"count":9,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1961214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1961214"}],"version-history":[{"count":3,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1961214\/revisions"}],"predecessor-version":[{"id":1962606,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1961214\/revisions\/1962606"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1961214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1961214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1961214"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1961214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}