#3801
WesleyanHQ
Participant

Okay, I will try.

Custom taxonomy, in functions.php file:

//* Create Curators Access taxonomy
add_action( 'init', 'create_divisions_tax' );
function create_divisions_tax() {
	$labels = array(
		'name'              => _x( 'Curator Access', 'taxonomy general name', 'Divi' ),
		'singular_name'     => _x( 'Curator Access', 'taxonomy singular name', 'Divi' ),
		'search_items'      => __( 'Search Curators Access', 'Divi' ),
		'all_items'         => __( 'All Curators Access', 'Divi' ),
	);
	register_taxonomy(
		'twc_divisions',
		array( 
			'post', 
			'tribe_events', 
			'page' 
		),
		array(
            'label' => __( 'Curator Access' ),
            'rewrite' => false,
			'hierarchical' => true,
		)
	);
}

Custom taxonomy applies to Posts, Pages, and Events (from Modern Tribe’s plugin).

Terms in the Curator Access taxonomy:
Admin Access Only (tag_ID is 137)
CA (tag_ID is 98)
CMAD (tag_ID is 97)
ECD (tag_ID is 100)
GP (tag_ID is 102)
GSO (tag_ID is 103)
GTO (tag_ID is 105)
WPF (tag_ID is 101)
WPH (tag_ID is 96)

User: Jane Doe
Role: Curator
Restrictions: Prohibit is checked, with category/taxonomy ID field of 96, 97, 98, 100, 101, 102, 103 which doesn’t include 105 – GTO because user is an GTO curator.

Curator role (custom role made in User Role Editor)
Role was created by copying the Editor role.
checked:
copy_posts
create_pages
create_posts
create_tablepress_tables
create_tribe_events
delete_aggregator-records
delete_others_aggregator-records
delete_others_pages
delete_others_posts
delete_others_tribe_events
delete_others_tribe_organizers
delete_others_tribe_venues
delete_pages
delete_posts
delete_private_aggregator-records
delete_private_pages
delete_private_posts
delete_private_tribe_events
delete_private_tribe_organizers
delete_private_tribe_venues
delete_published_aggregator-records
delete_published_pages
delete_published_posts
delete_published_tribe_events
delete_published_tribe_organizers
delete_published_tribe_venues
delete_tribe_events
delete_tribe_organizers
delete_tribe_venues
edit_aggregator-records
edit_others_aggregator-records
edit_others_pages
edit_others_posts
edit_others_tribe_events
edit_others_tribe_organizers
edit_others_tribe_venues
edit_pages
edit_post_subscriptions
edit_posts
edit_private_aggregator-records
edit_private_pages
edit_private_posts
edit_private_tribe_events
edit_private_tribe_organizers
edit_private_tribe_venues
edit_published_aggregator-records
edit_published_pages
edit_published_posts
edit_published_tribe_events
edit_published_tribe_organizers
edit_published_tribe_venues
edit_tribe_events
edit_tribe_organizers
edit_tribe_venues
edit_usergroups
ef_view_calendar
ef_view_story_budget
manage_categories
manage_links
moderate_comments
publish_aggregator-records
publish_pages
publish_posts
publish_tribe_events
publish_tribe_organizers
publish_tribe_venues
read
read_private_aggregator-records
read_private_pages
read_private_posts
read_private_tribe_events
read_private_tribe_organizers
read_private_tribe_venues
tablepress_access_about_screen
tablepress_access_options_screen
tablepress_add_tables
tablepress_copy_tables
tablepress_delete_tables
tablepress_edit_tables
tablepress_export_tables
tablepress_import_tables
tablepress_list_tables
unfiltered_html
upload_files

Posts:
2,606 posts total
If you go to Posts > Curator Access (in the left menu), it says 8 posts in the term GTO. There are 2 Posts, and 7 Pages, so it’s actually 9 posts that are in GTO.

Those 9 posts show up if I have Allow taxonomy ID 105
But the Categories box in the right menu of a single post edit screen is completely blank with Allow (I guess that would be correct, though it’s not what I intend to have. There are 19 categories that we currently have.)

No posts, pages, or events show up if I have Prohibit taxonomy IDs 96, 97, 98, 100, 101, 102, 103
Except a Sticky post in the taxonomy term GSO – I think because it is sticky. the ALL (0) shows as no posts, the sticky post only shows up in the tab STICKY (1) in the Posts Edit screen. There is only 1 sticky post on the website.

Let me know if you need any other info.