I’m setting the capabilities for a taxonomy with the below:
$assoc_tax->capabilities['manage_terms'] = "zzz";
$assoc_tax->capabilities['edit_terms'] = "zzz";
$assoc_tax->capabilities['delete_terms'] = "zzz";
$assoc_tax->capabilities['assign_terms'] = "edit_posts";
And registering with:
register_taxonomy( 'association', ['activity', 'job'], $assoc_tax );
Where activity and job are two CPT’s.
When adding a new CPT the user is still allowed to add new terms for this taxonomy, and it looks as though that should not be the case.
Am I doing something obviously wrong, or missing something?