WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17510 closed defect (bug) (fixed)

More accurate permission checking on multisite dashboard

Reported by: johnbillion Owned by: nacin
Milestone: 3.2 Priority: normal
Severity: minor Version: 3.2
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

The dashboard widget that outputs the storage space quota checks for the 'edit_posts' capability before displaying its contents. It should check for the the 'upload_files' capability instead so this information is hidden from contributor level users.

Attachments (1)

17510.patch (592 bytes) - added by johnbillion 4 years ago.

Download all attachments as: .zip

Change History (4)

@johnbillion4 years ago

comment:1 @johnbillion4 years ago

  • Keywords has-patch added

Patch

comment:2 @scribu4 years ago

  • Milestone changed from Awaiting Review to 3.2
  • Type changed from enhancement to defect (bug)

comment:3 @nacin4 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [17973]:

Only show multisite upload space when user has upload_files, rather than edit_posts. props johnbillion, fixes #17510.

Note: See TracTickets for help on using tickets.