Hello!
Thanks for the feedback. Sorry for the late answer, as I’m still busy with the upcoming update. I wanted to test the answer myself before replying to the ticket. What you’re asking is basically applying this capability structure in your Dynamic Taxonomy settings:
Source: https://wordpress.stackexchange.com/questions/58004/user-editor-cant-see-edit-taxonomy-screen
'capabilities' => array (
'manage_terms' => 'edit_posts',
'edit_terms' => 'edit_posts',
'delete_terms' => 'edit_posts',
'assign_terms' => 'edit_posts'
)
To do so, you would have to enter this data in the setting textarea:
manage_terms : edit_posts
edit_terms : edit_posts
delete_terms : edit_posts
assign_terms : edit_posts
Here is a screenshot: https://i.imgur.com/v60VP3s.png
Turns out there’s a small problem with capabilities mapping in Dynamic Post Types/Taxonomies when using this type of data. I added a fix for the next update (should be out this weekend).
In the meantime, you can add the following code in your functions.php
file, it will apply the capabilities you’re looking for:
add_filter('register_taxonomy_args', 'my_taxonomy_capabilities', 10, 3);
function my_taxonomy_capabilities($args, $taxonomy, $object_type){
// Replace 'my-taxonomy' with your taxonomy name
if($taxonomy !== 'my-taxonomy')
return $args;
$args['capabilities'] = array(
'manage_terms' => 'edit_posts',
'edit_terms' => 'edit_posts',
'delete_terms' => 'edit_posts',
'assign_terms' => 'edit_posts'
);
return $args;
}
Sorry for the inconvenience.
Regards.