Opened 10 years ago
Last modified 7 years ago
#33975 new enhancement
Improve capabilities management when registering custom taxonomy
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Taxonomy | Keywords: | needs-patch needs-unit-tests |
| Focuses: | Cc: |
Description (last modified by )
Currently we have such caps when using register_taxonomy() codex:
'manage_terms' - 'manage_categories' 'edit_terms' - 'manage_categories' 'delete_terms' - 'manage_categories' 'assign_terms' - 'edit_posts'
IMO, setting manage_terms to false block access to page (cheating message),
setting edit_terms to false displays this message: "You are not allowed to edit this item.", which is very odd. Editing means editing, So I should not be able to use Quick Edit and Edit links (they should be hidden).
Also, I propose to add a create_terms capability maping - for displaying the add term form and giving ability to create them, separately from editing/deleting.
Related: #22511
Change History (5)
Note: See
TracTickets for help on using
tickets.
+1 to a pass on improving capabilities for managing terms, and offering flexibility on par with
register_post_type()