Ticket #2432 (closed defect (bug): fixed)
"Add Category" on Write screen should not appear for users who do not have "manage_categories" cap
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Administration | Version: | 2.0.1 |
| Severity: | normal | Keywords: | bg|has-patch bg|commit |
| Cc: |
Description
if a user does not have the "manage_categories" capability, they can attempt to add categories "on the fly" from the Write screen, but they'll get a message saying that they can't. This patch prevents the JS that displays the "add" button and message from even loading for users who lack the capability. Should make the page load faster for them too.
Attachments
Change History
markjaquith — 6 years ago
-
attachment
hide_add_cat_if_user_cannot_add_cats.diff
added
- Status changed from assigned to closed
- Resolution set to fixed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

Patch for current SVN