Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#13834 closed defect (bug) (fixed)

Insufficient privs for Editor role for Categories and Tags Converter

Reported by: kpdesign Owned by: nacin
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Role/Capability Keywords:
Focuses: Cc:


In the process of documenting the 3.0 admin menu changes so I can upgrade my plugin, I ran across the following issue:

Users with the Editor role are shown the link to the Categories and Tags Converter (wp-admin/import.php) on the Tools page, the Categories page, and the Post Tags page. Clicking that link from any of those pages shows the "You do not have sufficient permissions to access this page." error.

The capabilities listed in wp-admin/tools.php for this is manage_terms which an Editor can do (add/edit cats and tags), but wp-admin/import.php requires the import capability.

Is the Editor role supposed to have access to this or not? If not, then those links to the Categories and Tags Converter need to be removed.

Change History (2)

#1 @nacin
11 years ago

  • Keywords insufficient-privs cats-tags-converter removed
  • Owner set to nacin
  • Status changed from new to accepted

#2 @nacin
11 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [15205]) Check for the import cap before showing links to the tag/cat converter. props kpdesign, fixes #13834.

Note: See TracTickets for help on using tickets.